diff --git a/packages/hoppscotch-common/locales/en.json b/packages/hoppscotch-common/locales/en.json index 55b9a1cb9..aa34c3f4b 100644 --- a/packages/hoppscotch-common/locales/en.json +++ b/packages/hoppscotch-common/locales/en.json @@ -173,7 +173,7 @@ "name_length_insufficient": "Collection name should be at least 3 characters long", "new": "New Collection", "order_changed": "Collection Order Updated", - "properties":"Colection Properties", + "properties":"Collection Properties", "properties_updated": "Collection Properties Updated", "renamed": "Collection renamed", "request_in_use": "Request in use", @@ -975,4 +975,4 @@ "team": "Team Workspace", "title": "Workspaces" } -} \ No newline at end of file +} diff --git a/packages/hoppscotch-common/src/helpers/import-export/import/insomnia.ts b/packages/hoppscotch-common/src/helpers/import-export/import/insomnia.ts index 91698f8bc..e6aaf7f0a 100644 --- a/packages/hoppscotch-common/src/helpers/import-export/import/insomnia.ts +++ b/packages/hoppscotch-common/src/helpers/import-export/import/insomnia.ts @@ -199,6 +199,8 @@ const getHoppFolder = ( getHoppFolder(f, resources) ), requests: getRequestsIn(folderRes, resources).map(getHoppRequest), + auth: { authType: "inherit", authActive: true }, + headers: [], }) const getHoppCollections = (doc: InsomniaDoc) => diff --git a/packages/hoppscotch-common/src/helpers/import-export/import/openapi.ts b/packages/hoppscotch-common/src/helpers/import-export/import/openapi.ts index b1afd05dd..febf950eb 100644 --- a/packages/hoppscotch-common/src/helpers/import-export/import/openapi.ts +++ b/packages/hoppscotch-common/src/helpers/import-export/import/openapi.ts @@ -592,6 +592,8 @@ const convertOpenApiDocToHopp = ( name, folders: [], requests: paths, + auth: { authType: "inherit", authActive: true }, + headers: [], }), ]) } diff --git a/packages/hoppscotch-common/src/helpers/import-export/import/postman.ts b/packages/hoppscotch-common/src/helpers/import-export/import/postman.ts index a18eff3fa..ed16bf3af 100644 --- a/packages/hoppscotch-common/src/helpers/import-export/import/postman.ts +++ b/packages/hoppscotch-common/src/helpers/import-export/import/postman.ts @@ -292,6 +292,8 @@ const getHoppFolder = (ig: ItemGroup): HoppCollection => A.map(getHoppFolder) ), requests: pipe(ig.items.all(), A.filter(isPMItem), A.map(getHoppRequest)), + auth: { authType: "inherit", authActive: true }, + headers: [], }) export const getHoppCollection = (coll: PMCollection) => getHoppFolder(coll)