mirror of
https://github.com/SrIzan10/starters.git
synced 2026-05-01 11:05:16 +00:00
fix slack-webhook starter (#202)
This commit is contained in:
@@ -33,11 +33,7 @@ app.post("/webhook", async (req, res) => {
|
||||
|
||||
res.sendStatus(response.status);
|
||||
} catch (error) {
|
||||
console.error("error", error.response.data);
|
||||
console.error("error", error.response.status);
|
||||
console.error("error", error.response.headers);
|
||||
|
||||
res.sendStatus(error.response.status);
|
||||
res.sendStatus(500);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user