feat: introduce reconnection support for Flickr
This commit is contained in:
@@ -14,7 +14,10 @@ const createAuthLinkResolver = async (params: Params, req: RequestWithCurrentUse
|
||||
|
||||
const appClass = (await import(`../../apps/${connection.key}`)).default;
|
||||
|
||||
const appInstance = new appClass({ consumerKey: connection.data.consumerKey, consumerSecret: connection.data.consumerSecret });
|
||||
const appInstance = new appClass({
|
||||
consumerKey: connection.data.consumerKey,
|
||||
consumerSecret: connection.data.consumerSecret
|
||||
});
|
||||
const authLink = await appInstance.createAuthLink();
|
||||
|
||||
await connection.$query().patch({
|
||||
|
Reference in New Issue
Block a user