mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 07:04:52 +09:00
Fix bad reference in inventory_sync stat request
This commit is contained in:
1 parent
60e434e4ac
commit
4a29c13acb
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user