Set contentType for database uploads
This commit is contained in:
parent
1a686e7d76
commit
751af2a9e3
3 changed files with 3 additions and 1 deletions
1
lib/database-upload.js
generated
1
lib/database-upload.js
generated
|
|
@ -63,6 +63,7 @@ async function uploadDatabases(repositoryNwo, config, featureFlags, apiDetails,
|
|||
data: payload,
|
||||
headers: {
|
||||
authorization: `token ${apiDetails.auth}`,
|
||||
contentType: "application/zip",
|
||||
},
|
||||
});
|
||||
logger.debug(`Successfully uploaded database for ${language}`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue