Skip to content

Commit 5e23536

Browse files
authored
Merge pull request #887 from github/rneatherway/content-type
Set contentType for database uploads
2 parents d3a0787 + 5f30e24 commit 5e23536

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

Diff for: lib/database-upload.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: lib/database-upload.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: src/database-upload.ts

+1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export async function uploadDatabases(
6363
data: payload,
6464
headers: {
6565
authorization: `token ${apiDetails.auth}`,
66+
"Content-Type": "application/zip",
6667
},
6768
}
6869
);

0 commit comments

Comments
 (0)