fix: direct import from url failing (#3918)
This commit is contained in:
@@ -79,7 +79,7 @@ const importCollections = (url: unknown, type: unknown) =>
|
|||||||
content.data,
|
content.data,
|
||||||
TO.fromPredicate(isOfType("string")),
|
TO.fromPredicate(isOfType("string")),
|
||||||
TE.fromTaskOption(() => IMPORTER_INVALID_FILE_FORMAT),
|
TE.fromTaskOption(() => IMPORTER_INVALID_FILE_FORMAT),
|
||||||
TE.chain((data) => importer.importer(data))
|
TE.chain((data) => importer.importer([data]))
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user