Skip to content

Commit 8ce5d27

Browse files
authored
Merge pull request #359 from topcoder-platform/gamification
Gamification
2 parents 4944536 + 4773a2d commit 8ce5d27

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src-ts/tools/gamification-admin/pages/badge-detail/manual-assign-badge.store.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,9 @@ export async function submitRequestAsync(csv: string): Promise<any> {
99
// fill the form
1010
form.append('file', new Blob([csv], { type: 'text/csv' }), 'data.csv')
1111

12-
return xhrPostAsync(url, form)
12+
return xhrPostAsync(url, form, {
13+
headers: {
14+
'Content-Type': 'multipart/form-data',
15+
},
16+
})
1317
}

0 commit comments

Comments
 (0)