From a3e6bae032b358bc1a0ebb16924b481a2be51e63 Mon Sep 17 00:00:00 2001 From: Balu Babu Date: Tue, 19 Mar 2024 13:35:34 +0530 Subject: [PATCH] chore: changed target of hopp-old-backend service to prod --- docker-compose.yml | 4 ++-- .../src/team-collection/team-collection.controller.ts | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 62b36a367..b7f3d2f52 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -112,7 +112,7 @@ services: build: dockerfile: packages/hoppscotch-backend/Dockerfile context: . - target: dev + target: prod env_file: - ./.env restart: always @@ -122,7 +122,7 @@ services: - PORT=3000 volumes: # Uncomment the line below when modifying code. Only applicable when using the "dev" target. - - ./packages/hoppscotch-backend/:/usr/src/app + # - ./packages/hoppscotch-backend/:/usr/src/app - /usr/src/app/node_modules/ depends_on: hoppscotch-db: diff --git a/packages/hoppscotch-backend/src/team-collection/team-collection.controller.ts b/packages/hoppscotch-backend/src/team-collection/team-collection.controller.ts index 7fa3d1fae..6b9e26a21 100644 --- a/packages/hoppscotch-backend/src/team-collection/team-collection.controller.ts +++ b/packages/hoppscotch-backend/src/team-collection/team-collection.controller.ts @@ -26,7 +26,6 @@ export class TeamCollectionController { @Query('take') take: string, @Query('skip') skip: string, ) { - console.log('searchQuery', searchQuery); const res = await this.teamCollectionService.searchByTitle( searchQuery, teamID,