[Server] Fix bug

This commit is contained in:
syuilo 2017-01-31 23:28:29 +09:00
parent 9c551086dc
commit 3ae707e16c

View file

@ -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)