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