Skip to content

Commit

Permalink
Increase create job body limit on post request
Browse files Browse the repository at this point in the history
  • Loading branch information
3ximus committed Jun 12, 2023
1 parent 9d24121 commit d3b6c0a
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 d3b6c0a

Please sign in to comment.