Skip to content

Commit

Permalink
fix conflicts with develop branch (#13532)
Browse files Browse the repository at this point in the history
  • Loading branch information
thayannevls authored and rodrigok committed Apr 6, 2019
1 parent 409bc3c commit 1e82c37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/api/server/v1/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ API.v1.addRoute('users.getPreferences', { authRequired: true }, {
get() {
const user = Users.findOneById(this.userId);
if (user.settings) {
const { preferences } = user.settings;
const { preferences = {} } = user.settings;
preferences.language = user.language;

return API.v1.success({
Expand Down

0 comments on commit 1e82c37

Please sign in to comment.