Browse Source

fix code unable to be judged in contests

pull/6/head
hankeke303 6 years ago
parent
commit
637a6d4226
  1. 1
      models/contest.ts

1
models/contest.ts

@ -129,6 +129,7 @@ export default class Contest extends Model {
contest_id: this.id, contest_id: this.id,
user_id: judge_state.user_id user_id: judge_state.user_id
}); });
await player.save();
} }
await player.updateScore(judge_state); await player.updateScore(judge_state);

Loading…
Cancel
Save