Pepguy commited on
Commit
db53307
·
verified ·
1 Parent(s): 5277fde

Update app.js

Browse files
Files changed (1) hide show
  1. app.js +2 -0
app.js CHANGED
@@ -742,6 +742,8 @@ app.post('/create-payment-link', express.json(), async (req, res) => {
742
 
743
  /* health */
744
  app.get('/health', (_req, res) => res.json({ ok: true }));
 
 
745
 
746
  app.listen(PORT, () => {
747
  console.log(`Paystack webhook server listening on port ${PORT}`);
 
742
 
743
  /* health */
744
  app.get('/health', (_req, res) => res.json({ ok: true }));
745
+ app.post('/health', (_req, res) => res.json({ ok: true }));
746
+
747
 
748
  app.listen(PORT, () => {
749
  console.log(`Paystack webhook server listening on port ${PORT}`);