Added support of the session editing key for the OnlyOffice connector

This commit is contained in:
Anton SHEPILOV
2024-08-25 22:26:29 +02:00
committed by Eric Doughty-Papassideris
parent b6be90f825
commit c66123f450
9 changed files with 217 additions and 53 deletions
@@ -105,7 +105,7 @@ const routes: FastifyPluginCallback = (fastify: FastifyInstance, _options, next)
method: "DELETE",
url: `${serviceUrl}/editing_session/:editing_session_key`,
preValidation: [fastify.authenticateOptional],
handler: documentsController.endEditing.bind(documentsController),
handler: documentsController.cancelEditing.bind(documentsController),
});
fastify.route({