Skip to content

Commit

Permalink
feat: Remove custom header from delivery pdf handler
Browse files Browse the repository at this point in the history
  • Loading branch information
qtotuan committed Sep 14, 2018
1 parent 8d6a06a commit 45dcf15
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/v0/deliveries.ts
Expand Up @@ -207,11 +207,7 @@ export class Deliveries {
}/${deliveryId}/pdf?format=uri`

try {
const response = await this.http.getClient().post(uri, null, {
headers: {
Accept: 'application/json'
}
})
const response = await this.http.getClient().post(uri)

return resolve({
data: response.data.results,
Expand Down

0 comments on commit 45dcf15

Please sign in to comment.