Skip to content

Commit

Permalink
Merge pull request #206 from TrejGun/patch-1
Browse files Browse the repository at this point in the history
fix: Typo in readme
  • Loading branch information
scroll17 authored Jun 14, 2022
2 parents 2962b74 + 80a2902 commit efcae25
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 efcae25

Please sign in to comment.