hotfix: added validation on infra config update (#3667)

* feat: added validation on infra config update

* chore: removed async keyword

* fix: feedback
This commit is contained in:
Mir Arif Hasan
2023-12-19 17:15:46 +06:00
committed by GitHub
parent 58a9514b67
commit a694d3f7eb
2 changed files with 71 additions and 3 deletions

View File

@@ -676,6 +676,13 @@ export const INFRA_CONFIG_RESET_FAILED = 'infra_config/reset_failed' as const;
*/
export const INFRA_CONFIG_INVALID_INPUT = 'infra_config/invalid_input' as const;
/**
* Infra Config service (auth provider/mailer/audit logs) not configured
* (InfraConfigService)
*/
export const INFRA_CONFIG_SERVICE_NOT_CONFIGURED =
'infra_config/service_not_configured' as const;
/**
* Error message for when the database table does not exist
* (InfraConfigService)