UBERF-7690: Operation log support + fixes (#6337)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2024-08-16 13:54:23 +07:00
committed by GitHub
parent cab8ded85a
commit 2caa8590f9
23 changed files with 691 additions and 390 deletions
@@ -132,7 +132,7 @@ async function updateDocSyncInfo (
return
}
const projects = await control.queryFind(github.mixin.GithubProject, {}, { projection: { _id: 1 } })
const projects = await control.queryFind(control.ctx, github.mixin.GithubProject, {}, { projection: { _id: 1 } })
if (projects.some((it) => it._id === (space as Ref<GithubProject>))) {
const [sdoc] = await control.findAll(github.class.DocSyncInfo, { _id: cud.objectId as Ref<DocSyncInfo> })
// We need to check if sync doc is already exists.