Skip to content

Commit

Permalink
Merge pull request #105 from 3ximus/master
Browse files Browse the repository at this point in the history
Increase create job body limit on post request
  • Loading branch information
josiasmontag authored Jun 12, 2023
2 parents 9d24121 + d3b6c0a commit c9f42e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/JobsResource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ export default class JobsResource {

// See below for an explanation on how this type signature works
async create(data: JobTemplate | null = null): Promise<Job> {
const response = await this.cloudConvert.axios.post('jobs', data);
const response = await this.cloudConvert.axios.post('jobs', data, {
maxBodyLength: Infinity
});
return response.data.data;
}

Expand Down

0 comments on commit c9f42e5

Please sign in to comment.