mirror of
https://github.com/sim1222/misskey.git
synced 2025-08-07 17:23:54 +09:00
Fix bug
This commit is contained in:
@ -72,8 +72,7 @@ export default (
|
||||
.find({ user_id: user._id }, {
|
||||
datasize: true,
|
||||
_id: false
|
||||
})
|
||||
.toArray();
|
||||
});
|
||||
|
||||
// Calculate drive usage (in byte)
|
||||
const usage = files.map(file => file.datasize).reduce((x, y) => x + y, 0);
|
||||
|
Reference in New Issue
Block a user