mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-26 14:22:23 +02:00
UBERF-7959: Fix async issues (#6409)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -434,7 +434,7 @@ export class CommentSyncManager implements DocSyncManager {
|
||||
project: GithubProject
|
||||
): Promise<void> {
|
||||
// No need to perform external sync for comments, so let's update marks
|
||||
const tx = derivedClient.apply('comments_github')
|
||||
const tx = derivedClient.apply('comments_github' + project._id)
|
||||
for (const d of syncDocs) {
|
||||
await tx.update(d, { externalVersion: githubExternalSyncVersion })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user