Fix bad reference in inventory_sync stat request

This commit is contained in:
Hornwitser committed 2021-08-13 06:21:32 +02:00
1 parent 60e434e4ac
commit 4a29c13acb
1 file changed
+1 -1
+1 -1
View File
@@ -65,7 +65,7 @@ class MasterPlugin extends libPlugin.BaseMasterPlugin {
name,
length: JSON.stringify(this.inventories.get(name)).length,
}))
.sort((a, b) => a.stringified.length - b.stringified.length);
.sort((a, b) => a.length - b.length);
return {
database_size: inventories.map(x => x.length).reduce((a, b) => b - a, 0),
database_entries: inventories.length,