mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-11-20 14:27:48 +00:00
feat: right file handling
This commit is contained in:
1 parent
bfe9c2db70
commit
c7c4640dc5
3 files changed
+41
-9
No files matched your search
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user