diff --git a/src/routes/object/updateObject.ts b/src/routes/object/updateObject.ts index 2421d989..de8571be 100644 --- a/src/routes/object/updateObject.ts +++ b/src/routes/object/updateObject.ts @@ -44,6 +44,14 @@ export default async function routes(fastify: FastifyInstance) { summary, tags: ['object'], }) + + fastify.addContentTypeParser( + ['application/json', 'text/plain'], + function (request, payload, done) { + done(null) + } + ) + fastify.put( '/:bucketName/*', {