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