This commit is contained in:
rngsurrounded
2025-03-02 23:05:50 +09:00
parent 47d3c3a67e
commit b267c3c1fe
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ export const submitTaskSolution = async (
solution: string | File
) => {
const endpoint = `/competitions/${competitionId}/tasks/${taskId}/submit`;
console.log("SUBMIT ", taskId, competitionId, solution)
if (typeof solution === 'string') {
return await userFetch(endpoint, {
method: 'POST',