chore: Extract authentication logic of the apps to their own classes

This commit is contained in:
Faruk AYDIN
2021-11-18 12:54:56 +01:00
committed by Ömer Faruk Aydın
parent 6b1dee053f
commit 46321f19f4
23 changed files with 707 additions and 617 deletions

View File

@@ -19,7 +19,7 @@ const createAuthDataResolver = async (params: Params, req: RequestWithCurrentUse
consumerSecret: connection.data.consumerSecret
});
const authLink = await appInstance.createAuthData();
const authLink = await appInstance.authenticationClient.createAuthData();
await connection.$query().patch({
data: {