Skip to content

Commit

Permalink
Updated package install request content type (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
andersevenrud committed Apr 11, 2020
1 parent 1de1c61 commit 7f69787
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/packages.js
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,12 @@ export default class Packages {
return this.core
.request('/api/packages/install', {
method: 'post',
body
});
headers: {
'content-type': 'application/json'
},
body: JSON.stringify(body)
})
.then(response => response.json());
}

/**
Expand Down

0 comments on commit 7f69787

Please sign in to comment.