examples/server/src/index.ts
Function loginSuccessCallback
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
loginSuccessCallback: async function(req: express.Request, res: express.Response, sessionInfo: any) {
const service: SolidService = this;
const session = await service.findSessionByWebId(sessionInfo.webId);
const card = await service.getThing(session, sessionInfo.webId);