|
|
|
@ -39,7 +39,7 @@ export class OldDBTasksService {
@@ -39,7 +39,7 @@ export class OldDBTasksService {
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
this.readAllTasks() |
|
|
|
|
await this.readAllTasks() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private async getOldTasks(): Promise<IOldTask[]> { |
|
|
|
@ -190,7 +190,7 @@ export class OldDBTasksService {
@@ -190,7 +190,7 @@ export class OldDBTasksService {
|
|
|
|
|
|
|
|
|
|
for (const taskId of tasksIds) { |
|
|
|
|
for (const userId of usersIds) { |
|
|
|
|
this.tasksEventsService.addEvent({ |
|
|
|
|
await this.tasksEventsService.addEvent({ |
|
|
|
|
taskId, |
|
|
|
|
userId, |
|
|
|
|
event: Tasks.Event.Read, |
|
|
|
|