mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-23 01:13:48 +01:00
[Server] Fix bug
This commit is contained in:
parent
aa7bd8c030
commit
225260e8c9
@ -70,8 +70,10 @@ export default (
|
||||
// Fetch all files to calculate drive usage
|
||||
const files = await DriveFile
|
||||
.find({ user_id: user._id }, {
|
||||
datasize: true,
|
||||
_id: false
|
||||
fields: {
|
||||
datasize: true,
|
||||
_id: false
|
||||
}
|
||||
});
|
||||
|
||||
// Calculate drive usage (in byte)
|
||||
|
Loading…
Reference in New Issue
Block a user