diff --git a/services/service.ts b/services/service.ts index 1154f39..5971eae 100644 --- a/services/service.ts +++ b/services/service.ts @@ -299,7 +299,7 @@ async function registerActivity(service: Service): Promise { replace: true, }; - return new Promise((resolve) => service.activityManager.create(spec, resolve)); + return new Promise((resolve) => service.activityManager.create(spec, () => resolve())); } /**