[Server] Fix bug
This commit is contained in:
		| @@ -70,8 +70,10 @@ export default ( | |||||||
| 	// Fetch all files to calculate drive usage | 	// Fetch all files to calculate drive usage | ||||||
| 	const files = await DriveFile | 	const files = await DriveFile | ||||||
| 		.find({ user_id: user._id }, { | 		.find({ user_id: user._id }, { | ||||||
|  | 			fields: { | ||||||
| 				datasize: true, | 				datasize: true, | ||||||
| 				_id: false | 				_id: false | ||||||
|  | 			} | ||||||
| 		}); | 		}); | ||||||
|  |  | ||||||
| 	// Calculate drive usage (in byte) | 	// Calculate drive usage (in byte) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 syuilo
					syuilo