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;
try {
importedSettings = await settingsMigrator.migrate();
importedModlogs = await modlogsMigrator.migrate();
importedSettings = await settingsMigrator.import();
importedModlogs = await modlogsMigrator.import();
importedModlogs.sort((a, b) => a.case - b.case);
} catch (err) {
await settingsMigrator.end();