mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 07:25:35 +00:00
fix: bad type returned by theme preference endpoint
This commit is contained in:
@@ -8,6 +8,6 @@ export default class AppsController {
|
|||||||
updateUserThemeValidator
|
updateUserThemeValidator
|
||||||
);
|
);
|
||||||
session.put(PREFER_DARK_THEME, preferDarkTheme);
|
session.put(PREFER_DARK_THEME, preferDarkTheme);
|
||||||
return response.ok('ok');
|
return response.ok({ message: 'ok' });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user