pull/5810/head
Rodrigo Nascimento 9 years ago
parent be9abee754
commit f9754b1da3
No known key found for this signature in database
GPG Key ID: 2C85B3AFE75D23F9
  1. 4
      server/startup/migrations/v001.js

@ -1,3 +1,5 @@
/* global generateSuggestion */
RocketChat.Migrations.add({
version: 1,
up() {
@ -13,7 +15,7 @@ RocketChat.Migrations.add({
if (username && username.trim() !== '') {
return RocketChat.models.Users.setUsername(user._id, username);
} else {
return console.log("User without username", JSON.stringify(user, null, ' '));
return console.log('User without username', JSON.stringify(user, null, ' '));
}
});
}

Loading…
Cancel
Save