mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
fix email attachment not being saved as item
This commit is contained in:
parent
135999fa83
commit
f1c4bc6a74
1 changed files with 2 additions and 2 deletions
|
|
@ -61,10 +61,10 @@ export function emailAttachmentRouter() {
|
|||
(tx) =>
|
||||
tx.getRepository(UploadFile).save({
|
||||
url: '',
|
||||
userId: user.id,
|
||||
fileName: fileName,
|
||||
fileName,
|
||||
status: UploadFileStatus.Initialized,
|
||||
contentType: contentType,
|
||||
user: { id: user.id },
|
||||
}),
|
||||
undefined,
|
||||
user.id
|
||||
|
|
|
|||
Loading…
Reference in a new issue