mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
swap profile name
This commit is contained in:
@@ -36,7 +36,7 @@ class Api::UncachedEnterpriseSerializer < ActiveModel::Serializer
|
||||
object.is_distributor && object.type != 'profile'
|
||||
end
|
||||
|
||||
def profile_only
|
||||
def is_profile
|
||||
object.type = 'profile'
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user