mirror of
https://github.com/movie-web/backend.git
synced 2025-09-13 16:43:26 +00:00
Only use user date on bulk import
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user