Skip to content

Commit

Permalink
Fix typo in javascript example (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
roxfives authored Oct 22, 2022
1 parent 99bd06e commit 28dc7d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.MD
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ await client.createTask({
task: { httpRequest: { httpMethod: 'GET', url: 'https://www.google.com' } },
});
// Create a normal http task that will throw 405s and will get retried
await tasks.createTask({
await client.createTask({
parent: queueName,
task: { httpRequest: { httpMethod: 'POST', url: 'https://www.google.com' } },
});
Expand Down

0 comments on commit 28dc7d1

Please sign in to comment.