diff --git a/.github/workflows/backend-deploy.yml b/.github/workflows/backend-deploy.yml index b188f4d..6e3936e 100644 --- a/.github/workflows/backend-deploy.yml +++ b/.github/workflows/backend-deploy.yml @@ -18,7 +18,7 @@ jobs: env: PUPPETEER_SKIP_DOWNLOAD: true run: | - cd /home/runner/apps/FairInSight + cd /home/deploy/apps/FairInSight git pull origin dev diff --git a/backend/.env.example b/backend/.env.example index 8cde228..75f8f7a 100644 --- a/backend/.env.example +++ b/backend/.env.example @@ -25,8 +25,7 @@ SALT_ROUNDS=10 # CORS & Host CORS_ALLOW=* -HOST=http://localhost:3000, http://localhost:5173 - +HOST=http://localhost:3000 # Cloudinary CLOUDINARY_NAME= CLOUDINARY_API_KEY= diff --git a/backend/src/core/api/auth/auth.controller.js b/backend/src/core/api/auth/auth.controller.js index b4db241..6b36f6a 100644 --- a/backend/src/core/api/auth/auth.controller.js +++ b/backend/src/core/api/auth/auth.controller.js @@ -2,7 +2,7 @@ import { AuthService } from '../../modules/auth/service/auth.service'; import { RegisterDto, LoginDto, ForgotPasswordDto, VerifyOtpDto, ResetPasswordDto, UpdateMyProfileDto, RefreshTokenDto, LogoutDto } from '../../modules/auth'; import { ValidHttpResponse } from '../../../packages/handler/response/validHttp.response'; -class Controller { +class Controller { constructor() { this.service = AuthService; } diff --git a/backend/src/core/api/auth/auth.resolver.js b/backend/src/core/api/auth/auth.resolver.js index e867ea0..52be7de 100644 --- a/backend/src/core/api/auth/auth.resolver.js +++ b/backend/src/core/api/auth/auth.resolver.js @@ -18,7 +18,7 @@ export const AuthResolver = Module.builder() prefixPath: '/auth', tag: 'auth', module: 'AuthModule' - }) + }) .register([ { route: '/login', diff --git a/backend/yarn.lock b/backend/yarn.lock index 7f73cda..2363a0f 100644 --- a/backend/yarn.lock +++ b/backend/yarn.lock @@ -3550,11 +3550,6 @@ fs.realpath@^1.0.0: resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz" integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== -fsevents@~2.3.2: - version "2.3.3" - resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz" - integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== - ftp@^0.3.10: version "0.3.10" resolved "https://registry.npmjs.org/ftp/-/ftp-0.3.10.tgz"