Skip to content

Commit

Permalink
clean-up
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrezza authored Oct 18, 2024
1 parent d70dd59 commit 82aa4f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,6 @@ const server = new ParseServer({
});
```


## Custom API

This is an example of how the API payload can be adapted in the adapter configuration `apiCallback` according to a custom email provider's API specification.
Expand Down
5 changes: 2 additions & 3 deletions spec/ApiMailAdapter.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -404,8 +404,7 @@ describe('ApiMailAdapter', () => {
});

describe('convert ZeptoMail API v1.1 payload', () => {

it('converts single recepient payload for ZeptoMail', () => {
it('converts single recipient payload', () => {
const payload = converter.zeptomail({ api: '1.1', payload: examplePayload});
expect(payload.from.address).toEqual(examplePayload.from);
expect(payload.to).toBeInstanceOf(Array);
Expand All @@ -419,7 +418,7 @@ describe('ApiMailAdapter', () => {
expect(payload.htmlbody).toBe(examplePayload.html);
});

it('converts multiple recepients payload for ZeptoMail', () => {
it('converts multiple recipients payload', () => {
const examplePayload = {
from: "from@example.com",
to: "to@example.com,toanother@example.com",
Expand Down

0 comments on commit 82aa4f8

Please sign in to comment.