fix(server): add old secret check for admin secret update

This commit is contained in:
Lakhan Samani
2022-01-17 13:20:32 +05:30
parent c15b65b473
commit 3b4d0d9769
5 changed files with 19 additions and 10 deletions

View File

@@ -100,7 +100,7 @@ type Env {
input UpdateEnvInput {
ADMIN_SECRET: String
CONFIRM_ADMIN_SECRET: String
OLD_ADMIN_SECRET: String
DATABASE_TYPE: String
DATABASE_URL: String
DATABASE_NAME: String