Skip to content

Commit

Permalink
fix: direct import from url failing (#3918)
Browse files Browse the repository at this point in the history
  • Loading branch information
amk-dev committed Mar 20, 2024
1 parent 146c73d commit fc20b76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hoppscotch-common/src/pages/import.vue
Expand Up @@ -79,7 +79,7 @@ const importCollections = (url: unknown, type: unknown) =>
content.data,
TO.fromPredicate(isOfType("string")),
TE.fromTaskOption(() => IMPORTER_INVALID_FILE_FORMAT),
TE.chain((data) => importer.importer(data))
TE.chain((data) => importer.importer([data]))
)
)
)
Expand Down

0 comments on commit fc20b76

Please sign in to comment.