mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 12:21:36 +03:00
Fixed linter error
This commit is contained in:
parent
e9263827da
commit
6f506b3e30
@ -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/', '');
|
||||||
|
Loading…
Reference in New Issue
Block a user