diff --git a/scripts/ci/github-sync.sh b/scripts/ci/github-sync.sh index 691d59d..7b0d538 100755 --- a/scripts/ci/github-sync.sh +++ b/scripts/ci/github-sync.sh @@ -113,4 +113,4 @@ for key in $KEYS; do done rm /tmp/env_parser.pl -echo "✅ Sync complete! Your GitHub Actions environment is now ready." +echo "✅ Sync complete! Your GitHub Actions environment is now ready." \ No newline at end of file diff --git a/src/features/billing/server/webhook.ts b/src/features/billing/server/webhook.ts index bb06dbc..b9531b3 100644 --- a/src/features/billing/server/webhook.ts +++ b/src/features/billing/server/webhook.ts @@ -56,6 +56,13 @@ import { topUpWallet, refundToWallet } from "@/features/wallet/services/wallet-s */ const app = new Hono() + /** + * GET /webhooks/cashfree + * Health check endpoint for Cashfree dashboard test ping + */ + .get("/cashfree", (c) => { + return c.json({ status: "ok" }); + }) /** * POST /webhooks/cashfree * Main webhook endpoint for Cashfree events