diff --git a/plugins/uploader-resources/src/utils.ts b/plugins/uploader-resources/src/utils.ts index 1798c78316..0a84184bb6 100644 --- a/plugins/uploader-resources/src/utils.ts +++ b/plugins/uploader-resources/src/utils.ts @@ -155,7 +155,7 @@ export async function uploadFile ( if (uuid !== undefined && onFileUploaded !== undefined) { try { void callbackLimiter.exec(async () => { - void onFileUploaded({ + await onFileUploaded({ type: metadata.type, uuid, name: metadata.name,