feat: right file handling

This commit is contained in:
rngsurrounded committed 2025-03-02 23:45:13 +09:00
1 parent bfe9c2db70
commit c7c4640dc5
3 files changed
+41 -9

No files matched your search

+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',