Skip to content

Commit

Permalink
Merge pull request #19 from lchiche/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
diego-ilovepdf authored Jun 18, 2024
2 parents eb56bce + bbfce2e commit c460159
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ Thanks to be a promise-based API it is possible use the `await` JavaScript opera

```js
let task = instance.newTask('merge');
task = await task.start();
task = await task.addFile('<FILE_URL>');
task = await task.addFile('<FILE_URL>');
task = await task.process();
await task.start();
await task.addFile('<FILE_URL>');
await task.addFile('<FILE_URL>');
await task.process();

const data = await task.download();
```
Expand Down

0 comments on commit c460159

Please sign in to comment.