We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 099bee3 commit 2c28b81Copy full SHA for 2c28b81
server/startup/migrations/v126.js
@@ -12,7 +12,7 @@ RocketChat.Migrations.add({
12
13
if (setting) {
14
setting._id = 'Accounts_Default_User_Preferences_idleTimeLimit';
15
- RocketChat.models.Rooms.insert(setting);
+ RocketChat.models.Settings.insert(setting);
16
RocketChat.models.Settings.remove(query);
17
}
18
0 commit comments