From e2743a3712d73ad4de44b4f9ab91c05f8b335b9b Mon Sep 17 00:00:00 2001 From: bhaskar Date: Tue, 30 May 2023 13:54:05 +0530 Subject: [PATCH] change --- src/routes/supplierRoute.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/supplierRoute.js b/src/routes/supplierRoute.js index fb55711a..74d16cb9 100644 --- a/src/routes/supplierRoute.js +++ b/src/routes/supplierRoute.js @@ -651,9 +651,9 @@ module.exports = function (fastify, opts, next) { type: 'object', properties: { picture: { - type: 'object', + type: 'string', properties: { - data: { type: 'string' }, // Remove the "format" property + data: { type: 'string' }, encoding: { type: 'string' }, filename: { type: 'string' }, },