mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
fix tests
This commit is contained in:
parent
ac5acf7f21
commit
a2bdddf8c9
1 changed files with 4 additions and 2 deletions
|
|
@ -36,8 +36,10 @@ export const saveFile = async (
|
|||
{
|
||||
state: (input.state as unknown as LibraryItemState) || undefined,
|
||||
folder: input.folder || undefined,
|
||||
savedAt: input.savedAt || undefined,
|
||||
publishedAt: input.publishedAt || undefined,
|
||||
savedAt: input.savedAt ? new Date(input.savedAt) : undefined,
|
||||
publishedAt: input.publishedAt
|
||||
? new Date(input.publishedAt)
|
||||
: undefined,
|
||||
},
|
||||
user.id
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue