Skip to content

Commit 41d6059

Browse files
committed
Fix prize write
1 parent 09e3da3 commit 41d6059

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/v1_prizes_claim.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ func (app *ApiServer) v1PrizesClaim(c *fiber.Ctx) error {
287287
zap.Any("prize_type", prizeType),
288288
zap.Bool("has_action_data", len(actionData) > 0))
289289

290-
rows, err := app.pool.Query(ctx, sql, pgx.NamedArgs{
290+
rows, err := app.writePool.Query(ctx, sql, pgx.NamedArgs{
291291
"wallet": req.Wallet,
292292
"signature": req.Signature,
293293
"mint": yakMintAddress,

0 commit comments

Comments
 (0)