We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 681b2a0 commit a48c0acCopy full SHA for a48c0ac
src/lib/services/task_results.ts
@@ -261,8 +261,8 @@ function mergeTaskAndAnswer(
261
taskResult.is_ac = status.is_ac;
262
taskResult.user_id = userId;
263
264
- if (status.updated_at) {
265
- taskResult.updated_at = status.updated_at;
+ if (answer.updated_at) {
+ taskResult.updated_at = answer.updated_at;
266
}
267
268
src/lib/types/answer.ts
@@ -2,4 +2,5 @@ export interface TaskAnswer {
2
task_id: string;
3
user_id: string;
4
status_id: string;
5
+ updated_at: Date;
6
0 commit comments