TF-1842: Handle error for _deleteSendingEmailAction and _sendEmailAction

(cherry picked from commit 7b2ab3e85a778a6662ede7c81b3cdddcbd0e7204)
This commit is contained in:
HuyNguyen
2023-05-31 22:06:56 +07:00
committed by Dat Vu
parent 0556445f97
commit 9405fa60d9
17 changed files with 51 additions and 59 deletions
@@ -64,7 +64,7 @@ class WorkSchedulerController {
final matchedType = WorkerType.values.firstWhereOrNull((type) => type.name == workerType);
if (matchedType != null) {
await matchedType.usingObserver().bindDI(completer);
await matchedType.usingObserver().bindDI();
await matchedType.usingObserver().observe(taskName, dataObject, completer);
}
}