Skip to content

Commit 597c2f8

Browse files
committed
Change body to formData for standard upload as well
1 parent e5c7f1a commit 597c2f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UploadBOM/src/dtrackClient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class DTrackClient {
1919
request('/api/v1/bom', {
2020
...this.baseOptions,
2121
method: 'POST',
22-
body: {
22+
formData: {
2323
"project": projId,
2424
"bom": bom.toString()
2525
}

0 commit comments

Comments
 (0)