fix: adjust transitions to not create revisions during ongoing revisions transition

This commit is contained in:
Karol Sójko
2023-09-12 08:22:50 +02:00
parent 1d86ba8fcb
commit 106d8f9192
23 changed files with 211 additions and 26 deletions
@@ -79,6 +79,7 @@ export class BaseItemsController extends BaseHttpController {
readOnlyAccess: response.locals.readOnlyAccess,
sessionUuid: response.locals.session ? response.locals.session.uuid : null,
sharedVaultUuids,
onGoingRevisionsTransition: response.locals.onGoingRevisionsTransition,
})
if (syncResult.isFailed()) {
return this.json({ error: { message: syncResult.getError() } }, HttpStatusCode.BadRequest)