diff options
Diffstat (limited to 'app/models/namespace/root_storage_statistics.rb')
-rw-r--r-- | app/models/namespace/root_storage_statistics.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/namespace/root_storage_statistics.rb b/app/models/namespace/root_storage_statistics.rb index 73061b78637..99e32537595 100644 --- a/app/models/namespace/root_storage_statistics.rb +++ b/app/models/namespace/root_storage_statistics.rb @@ -57,7 +57,7 @@ class Namespace::RootStorageStatistics < ApplicationRecord end def attributes_from_personal_snippets - return {} unless namespace.user? + return {} unless namespace.user_namespace? from_personal_snippets.take.slice(SNIPPETS_SIZE_STAT_NAME) end |