From 629730a309b4f7721c3261bf52da707d45046048 Mon Sep 17 00:00:00 2001 From: Mir Arif Hasan Date: Tue, 19 Dec 2023 14:54:27 +0600 Subject: [PATCH] chore: removed async keyword --- .../src/infra-config/infra-config.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/hoppscotch-backend/src/infra-config/infra-config.service.ts b/packages/hoppscotch-backend/src/infra-config/infra-config.service.ts index ba5d7a130..bc765ae08 100644 --- a/packages/hoppscotch-backend/src/infra-config/infra-config.service.ts +++ b/packages/hoppscotch-backend/src/infra-config/infra-config.service.ts @@ -189,7 +189,7 @@ export class InfraConfigService implements OnModuleInit { * @param service Service can be Auth Provider, Mailer, Audit Log etc. * @returns Either true or false */ - async isServiceConfigured(service: AuthProvider) { + isServiceConfigured(service: AuthProvider) { switch (service) { case AuthProvider.GOOGLE: if ( @@ -246,7 +246,7 @@ export class InfraConfigService implements OnModuleInit { const { provider, status } = providerInfo[i]; if (status === ServiceStatus.ENABLE) { - const isConfigured = await this.isServiceConfigured(provider); + const isConfigured = this.isServiceConfigured(provider); if (!isConfigured) { throwErr(INFRA_CONFIG_SERVICE_NOT_CONFIGURED); }