Skip to content

Commit

Permalink
Merge pull request #887 from github/rneatherway/content-type
Browse files Browse the repository at this point in the history
Set contentType for database uploads
  • Loading branch information
Robin Neatherway authored and GitHub committed Jan 25, 2022
2 parents d3a0787 + 5f30e24 commit 5e23536
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/database-upload.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/database-upload.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/database-upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export async function uploadDatabases(
data: payload,
headers: {
authorization: `token ${apiDetails.auth}`,
"Content-Type": "application/zip",
},
}
);
Expand Down

0 comments on commit 5e23536

Please sign in to comment.