This commit is contained in:
Erik 2022-08-31 23:20:56 +03:00
parent 0cdef2db8b
commit a3d17cc640
Signed by untrusted user: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB

View File

@ -232,8 +232,8 @@ class GuildWrapper {
let importedModlogs = null; let importedModlogs = null;
try { try {
importedSettings = await settingsMigrator.migrate(); importedSettings = await settingsMigrator.import();
importedModlogs = await modlogsMigrator.migrate(); importedModlogs = await modlogsMigrator.import();
importedModlogs.sort((a, b) => a.case - b.case); importedModlogs.sort((a, b) => a.case - b.case);
} catch (err) { } catch (err) {
await settingsMigrator.end(); await settingsMigrator.end();