Show message for image pasting and intialize permission test

This commit is contained in:
thiloho
2024-09-03 16:06:07 +02:00
parent d1d87ca953
commit ed4a63eee7
5 changed files with 333 additions and 10 deletions

View File

@@ -106,6 +106,6 @@ export const actions: Actions = {
return { success: false, message: fileJSON.message };
}
return { fileId: fileJSON.file_id };
return { success: true, message: "Successfully uploaded image", fileId: fileJSON.file_id };
}
};