aboutsummaryrefslogtreecommitdiff
path: root/docker/crupest-api/CrupestApi/CrupestApi.Secrets/SecretInfo.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-12-12 20:30:55 +0800
committercrupest <crupest@outlook.com>2022-12-20 20:32:53 +0800
commitd8f12e14f3cebd759a8ee911cabb9585063606cb (patch)
tree5612df6f003faeb2b39c063c7fb3b09c7acb7e4a /docker/crupest-api/CrupestApi/CrupestApi.Secrets/SecretInfo.cs
parentce8adb2c5ff7d71592a4173eb06391b01cc45f22 (diff)
downloadcrupest-d8f12e14f3cebd759a8ee911cabb9585063606cb.tar.gz
crupest-d8f12e14f3cebd759a8ee911cabb9585063606cb.tar.bz2
crupest-d8f12e14f3cebd759a8ee911cabb9585063606cb.zip
Develop secret api. v31
Diffstat (limited to 'docker/crupest-api/CrupestApi/CrupestApi.Secrets/SecretInfo.cs')
-rw-r--r--docker/crupest-api/CrupestApi/CrupestApi.Secrets/SecretInfo.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/crupest-api/CrupestApi/CrupestApi.Secrets/SecretInfo.cs b/docker/crupest-api/CrupestApi/CrupestApi.Secrets/SecretInfo.cs
index 12fd3da..3aacaa1 100644
--- a/docker/crupest-api/CrupestApi/CrupestApi.Secrets/SecretInfo.cs
+++ b/docker/crupest-api/CrupestApi/CrupestApi.Secrets/SecretInfo.cs
@@ -8,7 +8,7 @@ public class SecretInfo
{
[Column(NotNull = true)]
public string Key { get; set; } = default!;
- [Column(NotNull = true, ClientGenerate = true, NoUpdate = true, ActAsKey = true)]
+ [Column(NotNull = true, Generated = true, NoUpdate = true, ActAsKey = true)]
public string Secret { get; set; } = default!;
[Column(DefaultEmptyForString = true)]
public string Description { get; set; } = default!;