Skip to content

Commit

Permalink
fix: typo in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
TrejGun authored Jun 13, 2022
1 parent 2962b74 commit 80a2902
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ const mailjet = new Mailjet({
apiSecret: process.env.MJ_APIKEY_PRIVATE
});

interface IContract {
interface IContact {
IsExcludedFromCampaigns: boolean;
Name: string;
CreatedAt: string;
Expand All @@ -425,7 +425,7 @@ type TResponse<TEntity> = {

const request = mailjet
.get('contact')
.request<TResponse<IContract>>()
.request<TResponse<IContact>>()
```

And `response` will have this shape:
Expand Down

0 comments on commit 80a2902

Please sign in to comment.