Skip to content

Commit 0eb3eea

Browse files
committed
fix(NextcloudBookmarks): await AsyncLock
Signed-off-by: Marcel Klehr <[email protected]>
1 parent 8d45159 commit 0eb3eea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/adapters/NextcloudBookmarks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ export default class NextcloudBookmarksAdapter implements Adapter, BulkImportRes
465465
const body = new FormData()
466466
body.append('bm_import', blob, 'upload.html')
467467

468-
const json = this.importLock.acquire('import', async () => {
468+
const json = await this.importLock.acquire('import', async() => {
469469
return this.sendRequest(
470470
'POST',
471471
`index.php/apps/bookmarks/public/rest/v2/folder/${parentId}/import`,

0 commit comments

Comments
 (0)