ashok 2 months ago
commit 6493f45fcc

@ -65,11 +65,7 @@ module.exports = function (fastify, opts, next) {
}, },
}, },
// Body is not needed; keep empty schema or remove `body` entirely // Body is not needed; keep empty schema or remove `body` entirely
body: {
type: "object",
additionalProperties: false,
properties: {},
},
security: [{ basicAuth: [] }], security: [{ basicAuth: [] }],
}, },
handler: validationHandler.getSupplierswithoutbooking, // or `exports.getSuppliers` if wired directly handler: validationHandler.getSupplierswithoutbooking, // or `exports.getSuppliers` if wired directly

Loading…
Cancel
Save