Skip to content

Commit

Permalink
Explicit numeric conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
Groxan committed May 31, 2024
1 parent 77a33e4 commit b401fe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tzkt.Api/Repositories/TokensRepository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ async Task<IEnumerable<dynamic>> QueryTokenBalancesAsync(TokenBalanceFilter filt
SELECT "Id"
FROM "Tokens"
WHERE "ContractId" = @contractId
AND "TokenId" = @tokenId
AND "TokenId" = @tokenId::numeric
LIMIT 1
""", new { contractId = filter.token.contract.Eq.Value, tokenId = filter.token.tokenId.Eq });

Expand Down

0 comments on commit b401fe8

Please sign in to comment.