summary refs log tree commit diff
path: root/src/api
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-09-23 23:25:08 +0200
committerRory& <root@rory.gay>2025-09-29 18:38:06 +0200
commitdb765d8ff0423ec9eea9b624973895569ddff558 (patch)
tree9ccc902497e8c0bdc91d2c56b70b7444747f2766 /src/api
parentImplement cloning cloud attachments into messages (diff)
downloadserver-ts-db765d8ff0423ec9eea9b624973895569ddff558.tar.xz
Update message schema to handle cloud attachments
Diffstat (limited to 'src/api')
-rw-r--r--src/api/routes/channels/#channel_id/attachments.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/routes/channels/#channel_id/attachments.ts b/src/api/routes/channels/#channel_id/attachments.ts

index d0297dce8..555eb0ad5 100644 --- a/src/api/routes/channels/#channel_id/attachments.ts +++ b/src/api/routes/channels/#channel_id/attachments.ts
@@ -93,6 +93,7 @@ router.post( id: a.userAttachmentId, upload_filename: a.uploadFilename, upload_url: `${cdnUrl}/attachments/${a.uploadFilename}`, + original_content_type: a.userOriginalContentType } })} as UploadAttachmentResponseSchema); },