chore: Use get app helper to get application data
This commit is contained in:
@@ -27,7 +27,7 @@ const createAuthData = async (
|
||||
|
||||
const authInstance = (await import(`../../apps/${connection.key}2/auth`))
|
||||
.default;
|
||||
const app = App.findOneByKey(connection.key);
|
||||
const app = await App.findOneByKey(connection.key);
|
||||
|
||||
const $ = globalVariable(connection, app);
|
||||
await authInstance.createAuthData($);
|
||||
|
Reference in New Issue
Block a user