fix(pos): allow manifest + relax UUID validation on /pos/sales query
This commit is contained in:
@@ -1704,10 +1704,10 @@ export async function registerPosRoutes(app: FastifyInstance, deps: PosRouteDeps
|
||||
querystring: {
|
||||
type: 'object',
|
||||
properties: {
|
||||
sessionId: { type: 'string', format: 'uuid' },
|
||||
terminalId: { type: 'string', format: 'uuid' },
|
||||
sessionId: { type: 'string' },
|
||||
terminalId: { type: 'string' },
|
||||
state: { type: 'string', enum: ['PENDING', 'COMPLETED'] },
|
||||
storeId: { type: 'string', format: 'uuid' },
|
||||
storeId: { type: 'string' },
|
||||
limit: { type: 'integer', minimum: 1, maximum: 100, default: 20 },
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user