mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-19 00:22:15 +00:00
Limitation API skelet with can upload tests
This commit is contained in:
@@ -60,7 +60,7 @@ class UserLimitation extends Model
|
||||
return [
|
||||
'use' => Metric::bytes($userCapacity)->format(),
|
||||
'total' => format_gigabytes($this->max_storage_amount),
|
||||
'percentage' => get_storage_fill_percentage($userCapacity, $this->max_storage_amount),
|
||||
'percentage' => get_storage_percentage($userCapacity, $this->max_storage_amount),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user