feat: right file handling

This commit is contained in:
rngsurrounded
2025-03-02 23:45:13 +09:00
parent bfe9c2db70
commit c7c4640dc5
3 changed files with 41 additions and 9 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ export const submitTaskSolution = async (
});
} else {
const formData = new FormData();
formData.append('file', solution);
formData.append('content', solution);
return await userFetch(endpoint, {
method: 'POST',