OpenHPS/openhps-solid

View on GitHub
examples/server/src/index.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function loginSuccessCallback has 28 lines of code (exceeds 25 allowed). Consider refactoring.
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);
Severity: Minor
Found in examples/server/src/index.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status