storipress/karbon

View on GitHub
packages/karbon/src/runtime/routes/api/decrypt-key.ts

Summary

Maintainability
A
1 hr
Test Coverage

Avoid too many return statements within this function.
Open

      return {
        ...result,
        _key: meta.key,
      }
Severity: Major
Found in packages/karbon/src/runtime/routes/api/decrypt-key.ts - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

        return {
          pass: false,
          message: 'Internal error',
        }
    Severity: Major
    Found in packages/karbon/src/runtime/routes/api/decrypt-key.ts - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

          return result
      Severity: Major
      Found in packages/karbon/src/runtime/routes/api/decrypt-key.ts - About 30 mins to fix

        There are no issues that match your filters.

        Category
        Status