diff --git a/src/main.ts b/src/main.ts index 54c00ea..90de2ac 100755 --- a/src/main.ts +++ b/src/main.ts @@ -79,7 +79,7 @@ class Service { for await (const _ of this.rules.receive_rule_update()) { await this.update_all_users_roles(); } - }); + })(); } async update_all_users_roles() {