diff --git a/src/routes/object/createObject.ts b/src/routes/object/createObject.ts index c9dc3e1d..15a628c2 100644 --- a/src/routes/object/createObject.ts +++ b/src/routes/object/createObject.ts @@ -49,6 +49,13 @@ export default async function routes(fastify: FastifyInstance) { tags: ['object'], }) + fastify.addContentTypeParser( + ['application/json', 'text/plain'], + function (request, payload, done) { + done(null) + } + ) + fastify.post( '/:bucketName/*', {