Skip to content

Commit

Permalink
Set contentType for database uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin Neatherway committed Jan 24, 2022
1 parent 1a686e7 commit 751af2a
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}`,
contentType: "application/zip",
},
}
);
Expand Down

0 comments on commit 751af2a

Please sign in to comment.