aboutsummaryrefslogtreecommitdiff
path: root/docker/crupest-api/CrupestApi/CrupestApi.Commons/Secrets
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-12-22 17:47:07 +0800
committercrupest <crupest@outlook.com>2022-12-22 17:47:07 +0800
commit0f24398ac2de72dda418d0177b93978bafca1434 (patch)
tree0fb74f6fb4e8603f9625a72ea82a06dbf72436e6 /docker/crupest-api/CrupestApi/CrupestApi.Commons/Secrets
parentbed36cfe2e56df769a76cadcec00015e7eeb9a67 (diff)
downloadcrupest-0f24398ac2de72dda418d0177b93978bafca1434.tar.gz
crupest-0f24398ac2de72dda418d0177b93978bafca1434.tar.bz2
crupest-0f24398ac2de72dda418d0177b93978bafca1434.zip
Develop secret api. v58
Diffstat (limited to 'docker/crupest-api/CrupestApi/CrupestApi.Commons/Secrets')
-rw-r--r--docker/crupest-api/CrupestApi/CrupestApi.Commons/Secrets/SecretInfo.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/crupest-api/CrupestApi/CrupestApi.Commons/Secrets/SecretInfo.cs b/docker/crupest-api/CrupestApi/CrupestApi.Commons/Secrets/SecretInfo.cs
index 1f00f9a..c3a4de0 100644
--- a/docker/crupest-api/CrupestApi/CrupestApi.Commons/Secrets/SecretInfo.cs
+++ b/docker/crupest-api/CrupestApi/CrupestApi.Commons/Secrets/SecretInfo.cs
@@ -14,7 +14,7 @@ public class SecretInfo
public string Description { get; set; } = default!;
[Column(NotNull = false)]
public DateTime? ExpireTime { get; set; }
- [Column(NotNull = true)]
+ [Column(NotNull = true, DefaultValue = false)]
public bool Revoked { get; set; }
[Column(NotNull = true)]
public DateTime CreateTime { get; set; }