ghost/admin/mirage/config/invites.js
Function mockInvites
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function mockInvites(server) {
server.get('/invites/', paginatedResponse('invites'));
server.get('/invites/:id', function (schema, request) {
let {id} = request.params;