TF-1842: Handle error for _deleteSendingEmailAction and _sendEmailAction
(cherry picked from commit 7b2ab3e85a778a6662ede7c81b3cdddcbd0e7204)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user