Only use user date on bulk import

This commit is contained in:
William Oldham
2023-12-06 19:46:22 +00:00
parent 4bf0285d06
commit e5c3cde51b

View File

@@ -60,7 +60,7 @@ export const userProgressRouter = makeRouter((app) => {
duration: body.duration,
watched: body.watched,
meta: body.meta,
updatedAt: defaultAndCoerceDateTime(body.updatedAt),
updatedAt: new Date(),
});
await em.persistAndFlush(progressItem);