Files
twenty/packages/twenty-front/src/modules/activities/utils/getAttachmentUrl.ts
T
Etienne 26f0a416a1 File storage cleaning (#18381)
- 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>
2026-03-04 23:46:03 +01:00

10 lines
232 B
TypeScript

import { type AttachmentWithFile } from '@/activities/files/utils/filterAttachmentsWithFile';
export const getAttachmentUrl = ({
attachment,
}: {
attachment: AttachmentWithFile;
}): string => {
return attachment.file.url;
};