Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
chore(query): add height as a query param that should be casted to a …
Browse files Browse the repository at this point in the history
…number
  • Loading branch information
dtfiedler committed Jan 10, 2024
1 parent 6a8a26b commit f7560ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ export async function contractReservedHandler(ctx: KoaContext) {
ctx.body = response;
}

const queryParamsCastedToNumbers = ['qty', 'years'];
const queryParamsCastedToNumbers = ['qty', 'years', 'height'];
export async function contractReadInteractionHandler(ctx: KoaContext) {
const { warp, logger: _logger } = ctx.state;
const { contractTxId, functionName } = ctx.params;
Expand Down

0 comments on commit f7560ec

Please sign in to comment.