ghost/admin/mirage/config/themes.js
Function mockThemes
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function mockThemes(server) {
server.get('/themes');
server.get('/themes/active/', function ({themes}) {
const theme = themes.findBy({active: true});