regression: Misspelled property in migration 225 (#22093)

pull/21921/head^2
gabriellsh 4 years ago committed by GitHub
parent 278205504b
commit 99e7da6601
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      server/startup/migrations/v225.js

@ -29,7 +29,7 @@ Migrations.add({
const users = Users.find({}, { fields: { _id: 1, 'settings.preferences': 1 } }).fetch();
users.forEach((user) => {
if (!(user.settings && user.settings.preferences && typeof user.setting.preferences !== 'object')) {
if (!(user.settings && user.settings.preferences && typeof user.settings.preferences !== 'object')) {
return;
}

Loading…
Cancel
Save