Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

HSB-514 refactor: remove unused `CollType` GQL enum (#5074)

Mir Arif Hasan7ee33abdefc0
diff --git a/docker-compose.deploy.yml b/docker-compose.deploy.yml
index 91ae6befa..e9b7919a6 100644
--- a/docker-compose.deploy.yml
+++ b/docker-compose.deploy.yml
@@ -28,7 +28,7 @@ services:
environment:
# DATABASE_URL is read from the .env file to allow the backend to connect with an external database.
# This allows the backend to retain existing data and prevents database resets during deployments.
- - DATABASE_URL=postgresql://postgres:testpass@hoppscotch-db:5432/hoppscotch
+ # - DATABASE_URL=postgresql://postgres:testpass@hoppscotch-db:5432/hoppscotch
- ENABLE_SUBPATH_BASED_ACCESS=true
env_file:
- ./.env
diff --git a/packages/hoppscotch-backend/src/user-collection/user-collections.model.ts b/packages/hoppscotch-backend/src/user-collection/user-collections.model.ts
index f3ca5c136..a1ff1408c 100644
--- a/packages/hoppscotch-backend/src/user-collection/user-collections.model.ts
+++ b/packages/hoppscotch-backend/src/user-collection/user-collections.model.ts
@@ -58,10 +58,6 @@ export class UserCollectionRemovedData {
type: ReqType;
}
-registerEnumType(ReqType, {
- name: 'CollType',
-});
-
@ObjectType()
export class UserCollectionExportJSONData {
@Field(() => ID, {
@@ -119,7 +115,3 @@ export class UserCollectionDuplicatedData {
})
requests: UserRequest[];
}
-
-registerEnumType(ReqType, {
- name: 'CollType',
-});