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