fix: update updated_at when updating progress

This commit is contained in:
2025-01-27 00:50:40 +01:00
parent 05742cd8dc
commit 684eef4d7c

View File

@@ -83,7 +83,8 @@ export const actions = {
.update(tasks)
.set({
currentPoints: Number(data.get('currentPoints')),
totalPoints: Number(data.get('totalPoints'))
totalPoints: Number(data.get('totalPoints')),
updatedAt: new Date()
})
.where(eq(tasks.id, Number(params.id)));
}