From 8642f3b14249a0199ba3efe22cb3027bf9088bc5 Mon Sep 17 00:00:00 2001 From: Thomas Taylor Date: Mon, 16 Sep 2024 12:58:51 +0100 Subject: [PATCH] Rename import var for consistency --- lib/RolesModule.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/RolesModule.js b/lib/RolesModule.js index a0bbd5b..c8963ed 100644 --- a/lib/RolesModule.js +++ b/lib/RolesModule.js @@ -16,8 +16,8 @@ class RolesModule extends AbstractApiModule { } catch (e) { this.log('error', e) } - const [localauth, users] = await this.app.waitForModule('auth-local', 'users') - localauth.registerHook.tap(this.onUpdateRoles.bind(this)) + const [authlocal, users] = await this.app.waitForModule('auth-local', 'users') + authlocal.registerHook.tap(this.onUpdateRoles.bind(this)) users.requestHook.tap(this.onUpdateRoles.bind(this)) }