🚧Changing file identifier with editing_session_id

This commit is contained in:
Anton SHEPILOV
2024-08-25 22:26:27 +02:00
committed by Eric Doughty-Papassideris
parent 688217dfdb
commit ca3ebcc83d
5 changed files with 90 additions and 2 deletions
@@ -350,10 +350,12 @@ export class DocumentsController {
beginEditing = async (
request: FastifyRequest<{
Params: ItemRequestParams;
//TODO application id should be received from the token that we have during the login
Body: { editorApplicationId: string };
}>,
) => {
try {
//TODO create application execution context with the application identifier inside
const context = getDriveExecutionContext(request);
const { id } = request.params;