Skip to content

Commit

Permalink
change type of transactionNetworkId to number in ajv schema
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammadranjbarz committed Jan 18, 2024
1 parent a0de663 commit d43d9ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/validators/graphqlQueryValidators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export const createDonationQueryValidator = Joi.object({
),
}),
}),
transactionNetworkId: Joi.string()
transactionNetworkId: Joi.number()
.required()
.valid(...Object.values(NETWORK_IDS)),

Expand Down

0 comments on commit d43d9ab

Please sign in to comment.