chore: update returned attachement fullPath (#9516)
### Solution fullPath prop on attachement (when returned by backend) is updated to 'domain + path' (formerly 'path'). Consequently, getFileAbsoluteURI util in front is removed. closes #8763 --------- Co-authored-by: etiennejouan <jouan.etienne@gmail.com>
This commit is contained in:
@ -173,9 +173,9 @@ export const ActivityRichTextEditor = ({
|
||||
}, [activity]);
|
||||
|
||||
const handleEditorBuiltInUploadFile = async (file: File) => {
|
||||
const { attachementAbsoluteURL } = await handleUploadAttachment(file);
|
||||
const { attachmentAbsoluteURL } = await handleUploadAttachment(file);
|
||||
|
||||
return attachementAbsoluteURL;
|
||||
return attachmentAbsoluteURL;
|
||||
};
|
||||
|
||||
const editor = useCreateBlockNote({
|
||||
|
||||
Reference in New Issue
Block a user