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