aboutsummaryrefslogtreecommitdiff
path: root/docker/crupest-api/CrupestApi/CrupestApi.Commons/Secrets/SecretService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'docker/crupest-api/CrupestApi/CrupestApi.Commons/Secrets/SecretService.cs')
-rw-r--r--docker/crupest-api/CrupestApi/CrupestApi.Commons/Secrets/SecretService.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/crupest-api/CrupestApi/CrupestApi.Commons/Secrets/SecretService.cs b/docker/crupest-api/CrupestApi/CrupestApi.Commons/Secrets/SecretService.cs
index c2242ff..9a0ec95 100644
--- a/docker/crupest-api/CrupestApi/CrupestApi.Commons/Secrets/SecretService.cs
+++ b/docker/crupest-api/CrupestApi/CrupestApi.Commons/Secrets/SecretService.cs
@@ -19,7 +19,7 @@ public class SecretService : CrudService<SecretInfo>, ISecretService
.Add(nameof(SecretInfo.Key), SecretsConstants.SecretManagementKey)
.Add(nameof(SecretInfo.Secret), "crupest")
.Add(nameof(SecretInfo.Description), "This is the init key. Please revoke it immediately after creating a new one.");
- _table.Insert(connection, insertClause);
+ _table.Insert(connection, insertClause, out var _);
transaction.Commit();
}
@@ -30,7 +30,7 @@ public class SecretService : CrudService<SecretInfo>, ISecretService
.Add(nameof(SecretInfo.Key), key)
.Add(nameof(SecretInfo.Secret), secret)
.Add(nameof(SecretInfo.Description), "Test secret.");
- _table.Insert(connection, insertClause);
+ _table.Insert(connection, insertClause, out var _);
}
public List<string> GetPermissions(string secret)