fix: bad type returned by theme preference endpoint

This commit is contained in:
Sonny
2024-06-02 19:12:09 +02:00
committed by Sonny
parent 8a4f895853
commit c20dd4651c

View File

@@ -8,6 +8,6 @@ export default class AppsController {
updateUserThemeValidator
);
session.put(PREFER_DARK_THEME, preferDarkTheme);
return response.ok('ok');
return response.ok({ message: 'ok' });
}
}