Skip to content

Commit

Permalink
fix get topup
Browse files Browse the repository at this point in the history
  • Loading branch information
squi-ddy committed Oct 22, 2024
1 parent d981243 commit 4f1623b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/api/admin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ router.use((req, res, next) => {
})

router.get("/getTopup", async (req, res) => {
const tokenId: unknown = req.body.token_id
const tokenId: unknown = req.query.token_id

if (!tokenId) {
return res.status(400).json({ message: "Token ID is required" })
Expand Down

0 comments on commit 4f1623b

Please sign in to comment.