feat: user usage init (#5074)
This commit is contained in:
@@ -44,7 +44,10 @@ export class UsersService {
|
||||
})
|
||||
.then(user => user?.features.map(f => f.feature) ?? []);
|
||||
|
||||
return getStorageQuota(features) || this.config.objectStorage.quota;
|
||||
return (
|
||||
getStorageQuota(features.map(f => f.feature)) ||
|
||||
this.config.objectStorage.quota
|
||||
);
|
||||
}
|
||||
|
||||
async findUserByEmail(email: string) {
|
||||
|
||||
Reference in New Issue
Block a user