Skip to content

Commit dd6af5c

Browse files
committed
[native] fix(NextcloudBookmarks)
Signed-off-by: Marcel Klehr <[email protected]>
1 parent 3653a5d commit dd6af5c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/lib/adapters/NextcloudBookmarks.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,11 @@ export default class NextcloudBookmarksAdapter implements Adapter, BulkImportRes
10121012
}
10131013

10141014
if (returnRawResponse) {
1015-
return res
1015+
return {
1016+
status: res.status,
1017+
text: () => res.data,
1018+
json: () => res.data,
1019+
}
10161020
}
10171021

10181022
if (res.status === 401 || res.status === 403) {

0 commit comments

Comments
 (0)