mirror of
https://github.com/sussy-code/backend.git
synced 2026-04-21 00:42:02 +00:00
Only use user date on bulk import
This commit is contained in:
parent
4bf0285d06
commit
e5c3cde51b
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ export const userProgressRouter = makeRouter((app) => {
|
||||||
duration: body.duration,
|
duration: body.duration,
|
||||||
watched: body.watched,
|
watched: body.watched,
|
||||||
meta: body.meta,
|
meta: body.meta,
|
||||||
updatedAt: defaultAndCoerceDateTime(body.updatedAt),
|
updatedAt: new Date(),
|
||||||
});
|
});
|
||||||
|
|
||||||
await em.persistAndFlush(progressItem);
|
await em.persistAndFlush(progressItem);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue