Skip to content

Commit

Permalink
🚑️ レスポンスのバリデーション修正
Browse files Browse the repository at this point in the history
  • Loading branch information
Shion1305 committed Nov 3, 2023
1 parent 103c952 commit 7c82d19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/api/contest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ async function execUpdate() {
console.log("Contest data updated");
console.log("resp.data", resp.data);
console.log("rankingData", rankingData);
if (!rankingData.UPDATED) {
if (!resp.data.UPDATED) {
rankingData = {
message: "Contest data is not ready",
};
Expand Down

0 comments on commit 7c82d19

Please sign in to comment.