Fixed linter error

This commit is contained in:
Kevin Ansfield 2021-11-01 18:40:47 +00:00
parent e9263827da
commit 6f506b3e30

View File

@ -36,7 +36,7 @@ export default function mockThemes(server) {
return {themes: [theme]}; return {themes: [theme]};
}); });
server.post('/themes/install/', function ({themes, db}, {queryParams}) { server.post('/themes/install/', function ({themes}, {queryParams}) {
themes.all().update('active', false); themes.all().update('active', false);
const themeName = queryParams.ref.replace('TryGhost/', ''); const themeName = queryParams.ref.replace('TryGhost/', '');