mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-24 13:22:23 +02:00
UBERF-7959: Fix async issues (#6409)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -402,7 +402,7 @@ export abstract class IssueSyncManagerBase {
|
||||
return true
|
||||
})
|
||||
|
||||
const updateTodos = this.client.apply('todos')
|
||||
const updateTodos = this.client.apply('todos' + account)
|
||||
for (const [k, v] of Object.entries(todos)) {
|
||||
await updateTodos.updateDoc(time.class.ToDo, time.space.ToDos, k as Ref<ToDo>, {
|
||||
doneOn: v ? Date.now() : null
|
||||
|
||||
Reference in New Issue
Block a user