Fix content-type for formdata
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
@ -23,9 +23,7 @@ function useCreateGroup() {
|
||||
|
||||
return api('/api/v1/groups', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'multipart/form-data',
|
||||
},
|
||||
headers: { 'Content-Type': '' },
|
||||
body: formData,
|
||||
});
|
||||
}, { schema: groupSchema });
|
||||
|
||||
Reference in New Issue
Block a user