fix: direct import from url failing (#3918)
This commit is contained in:
parent
146c73d7b6
commit
fc20b76080
1 changed files with 1 additions and 1 deletions
|
|
@ -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]))
|
||||
)
|
||||
)
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue