From 4bc1e2ee1536cb8a4d2e4465c4f43047fa592c6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cmirarifhasan=E2=80=9D?= Date: Mon, 22 Jun 2026 13:17:22 +0600 Subject: [PATCH] fix: backend CI --- .../hoppscotch-backend/src/user-environment/user.resolver.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/hoppscotch-backend/src/user-environment/user.resolver.ts b/packages/hoppscotch-backend/src/user-environment/user.resolver.ts index d55637f3a..e4bab7719 100644 --- a/packages/hoppscotch-backend/src/user-environment/user.resolver.ts +++ b/packages/hoppscotch-backend/src/user-environment/user.resolver.ts @@ -7,7 +7,7 @@ import * as E from 'fp-ts/Either'; import { throwErr } from '../utils'; import { GqlAuthGuard } from '../guards/gql-auth.guard'; import { GqlUser } from '../decorators/gql-user.decorator'; -import { USER_ENVIRONMENT_ENV_DOES_NOT_EXISTS } from '../errors'; +import { USER_ENVIRONMENT_ENV_DOES_NOT_EXIST } from '../errors'; @Resolver(() => User) export class UserEnvsUserResolver { @@ -34,7 +34,7 @@ export class UserEnvsUserResolver { @GqlUser() requestingUser: User, ): Promise { if (requestingUser?.uid !== user.uid) { - throwErr(USER_ENVIRONMENT_ENV_DOES_NOT_EXISTS); + throwErr(USER_ENVIRONMENT_ENV_DOES_NOT_EXIST); } const userEnvironment = await this.userEnvironmentsService.fetchUserGlobalEnvironment(user.uid);