payments bug fix
This commit is contained in:
@@ -24,7 +24,7 @@ export async function paymentRoutes(fastify: FastifyInstance) {
|
||||
"/",
|
||||
{
|
||||
schema: {
|
||||
params: $payment("pageQueryParams"),
|
||||
querystring: $payment("pageQueryParams"),
|
||||
},
|
||||
config: { requiredClaims: ["payment:read"] },
|
||||
preHandler: [fastify.authorize],
|
||||
@@ -36,7 +36,7 @@ export async function paymentRoutes(fastify: FastifyInstance) {
|
||||
"/search",
|
||||
{
|
||||
schema: {
|
||||
params: $payment("pageQueryParams"),
|
||||
querystring: $payment("pageQueryParams"),
|
||||
},
|
||||
config: { requiredClaims: ["payment:read"] },
|
||||
preHandler: [fastify.authorize],
|
||||
|
||||
Reference in New Issue
Block a user