mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Update attachment URL
This commit is contained in:
parent
b88c64424f
commit
71aaef3628
1 changed files with 1 additions and 1 deletions
|
|
@ -140,8 +140,8 @@ export const uploadFileRequestResolver = authorized<
|
|||
const uploadFileId = uploadFileData.id
|
||||
const item = await createLibraryItem(
|
||||
{
|
||||
originalUrl: input.url,
|
||||
id: input.clientRequestId || undefined,
|
||||
originalUrl: isFileUrl(input.url) ? attachmentUrl : input.url,
|
||||
user: { id: uid },
|
||||
title,
|
||||
readableContent: '',
|
||||
|
|
|
|||
Loading…
Reference in a new issue