File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
platform/trpc/routers/convoRouter Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1223,8 +1223,7 @@ export const convoRouter = router({
1223
1223
fileName : attachment . fileName ,
1224
1224
type : attachment . type ,
1225
1225
size : attachment . size ,
1226
- createdAt : newConvoEntryTimestamp ,
1227
- inline : true
1226
+ createdAt : newConvoEntryTimestamp
1228
1227
} ) ;
1229
1228
1230
1229
pendingAttachmentsToRemoveFromPending . push (
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ export const attachmentProxy = createHonoApp<Ctx>().get(
44
44
45
45
if (
46
46
! attachmentQueryResponse ||
47
- attachmentQueryResponse . fileName !== filename ||
47
+ decodeURIComponent ( attachmentQueryResponse . fileName ) !== filename ||
48
48
attachmentQueryResponse . org . shortcode !== orgShortcode
49
49
) {
50
50
return c . json (
You can’t perform that action at this time.
0 commit comments