Skip to content

Commit 90cd79d

Browse files
committed
fix demo due to new api callback arguments
1 parent c346279 commit 90cd79d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const config = {
6161
}
6262
}
6363
},
64-
apiCallback: async (payload) => {
64+
apiCallback: async ({ payload }) => {
6565
const mailgunPayload = ApiPayloadConverter.mailgun(payload);
6666
await mailgunClient.messages.create(domain, mailgunPayload);
6767
}

0 commit comments

Comments
 (0)