26f0a416a1
- Remove feature flag - Remove legacy methods in file-upload and file-service - Migrate AI Chat to new file management --------- Co-authored-by: Charles Bochet <charles@twenty.com>
10 lines
232 B
TypeScript
10 lines
232 B
TypeScript
import { type AttachmentWithFile } from '@/activities/files/utils/filterAttachmentsWithFile';
|
|
|
|
export const getAttachmentUrl = ({
|
|
attachment,
|
|
}: {
|
|
attachment: AttachmentWithFile;
|
|
}): string => {
|
|
return attachment.file.url;
|
|
};
|