Skip to content

Commit

Permalink
Merge pull request #124 from ava-labs/ashucoder9-patch-1
Browse files Browse the repository at this point in the history
feat(faucet): update server.ts
  • Loading branch information
rajranjan0608 authored Nov 28, 2023
2 parents 3bd18e6 + 3bd82b0 commit 822cfc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ router.post('/sendToken', captcha.middleware, async (req: any, res: any) => {
}
couponValidity = await couponService.consumeCouponAmount(coupon, faucetConfigId, dripAmount)
if (!couponValidity.isValid) {
res.status(400).send({message: "Invalid or expired coupon passed!"})
res.status(400).send({message: "Invalid or expired coupon provided. Contact support team on Discord!"})
return
}
}
Expand Down Expand Up @@ -240,4 +240,4 @@ app.get('*', async (req: any, res: any) => {

app.listen(process.env.PORT || 8000, () => {
console.log(`Server started at port ${process.env.PORT || 8000}`)
})
})

0 comments on commit 822cfc6

Please sign in to comment.