TryGhost/Ghost

View on GitHub
ghost/admin/mirage/config/invites.js

Summary

Maintainability
A
1 hr
Test Coverage

Function mockInvites has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function mockInvites(server) {
    server.get('/invites/', paginatedResponse('invites'));

    server.get('/invites/:id', function (schema, request) {
        let {id} = request.params;
Severity: Minor
Found in ghost/admin/mirage/config/invites.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status