mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-23 15:37:10 +00:00
feat: right file handling
This commit is contained in:
@@ -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