diff --git a/src/App.js b/src/App.js index b570754..b4ac77b 100644 --- a/src/App.js +++ b/src/App.js @@ -125,6 +125,8 @@ const apiService = { console.error("Server responded with error:", response.status, errorData); console.log("Sending exact payload:", JSON.stringify(resultData)); throw new Error(`Failed to publish result: ${response.status}`); + }else{ + console.log("Response is ok") } return response.json(); @@ -520,7 +522,7 @@ const ResultCalendar = () => { Team Result - Announcement Time + Result Time Actions @@ -528,8 +530,8 @@ const ResultCalendar = () => { {results.map(result => ( {result.team} - {result.result} - {result.announcement_time} + {result.visible_result} + {new Date(result.result_time).toISOString().split('T').join(" ").replace("Z", "").slice(0, -4)} Edit