Skip to content

Commit

Permalink
docs: Fix example of creating a transactional template in usage.md (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
robbieaverill authored Oct 29, 2021
1 parent a068f9d commit 4eb4e31
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/client/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5362,12 +5362,12 @@ Transactional templates are templates explicitly created for transactional email

```javascript
const data = {
"name": "example_name"
};
"name": "example_name",
"generation": "dynamic"
};
request.body = data;
request.method = 'POST';
request.url = '/v3/templates';
request.generation = 'dynamic'
client.request(request)
.then(([response, body]) => {
console.log(response.statusCode);
Expand Down

0 comments on commit 4eb4e31

Please sign in to comment.