From da9271744233cfbc8bab7a6406039cd214c00372 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Sun, 29 Dec 2024 22:50:50 +0800 Subject: [PATCH] Can use here now! --- src/services/ServiceManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/ServiceManager.ts b/src/services/ServiceManager.ts index 041907b58..13715f1d8 100644 --- a/src/services/ServiceManager.ts +++ b/src/services/ServiceManager.ts @@ -96,7 +96,7 @@ export default class ServiceManager { setMeta( transformer: (meta: BackgroundTaskMetadata) => BackgroundTaskMetadata, ) { - let taskList = [...ServiceManager.manager.getTaskList()]; + let taskList = [...this.getTaskList()]; taskList[0] = { ...taskList[0], meta: transformer(taskList[0].meta),