Skip to content

Commit

Permalink
fix: convert auction amount to string in reminder auction API request…
Browse files Browse the repository at this point in the history
… payload
  • Loading branch information
DarthGigi committed Feb 18, 2025
1 parent eb8a157 commit 6eef812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/api/internal/crons/remind-auctions/+server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export const GET: RequestHandler = async ({ request }) => {
body: JSON.stringify({
username: user.username,
auctionName: auction.minion.name,
auctionAmount: auction.amount,
auctionAmount: auction.amount.toString(),
minionId: auction.minion_id,
userEmail: settings?.profileSettings?.email
})
Expand Down

0 comments on commit 6eef812

Please sign in to comment.