Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
completing subscription confirmation requests
Browse files Browse the repository at this point in the history
Michael W. Martin committed Oct 4, 2024
1 parent b2987bd commit 056477b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/sns-adapter.ts
Original file line number Diff line number Diff line change
@@ -151,7 +151,10 @@ export class SNSAdapter implements ISNSAdapter {
this.debug("Visiting subscribe url: " + req.body.SubscribeURL);
return fetch(req.body.SubscribeURL, {
method: "GET"
}).then((fetchResponse) => this.debug("Subscribed: " + fetchResponse));
}).then((fetchResponse) => {
this.debug("Subscribed: " + fetchResponse)
res.status(200).send();
});
}

const sendIt = (err, response) => {

0 comments on commit 056477b

Please sign in to comment.