JSON api serializers for suppliers
This commit is contained in:
+1
-1
@@ -81,7 +81,7 @@ class User
|
||||
|
||||
# This is the user name as it is shown to the supplier
|
||||
def supplier_name
|
||||
auth_data['info']['name'] rescue I18n.t('user.unknown_supplier_name')
|
||||
auth_data['info']['name'] rescue I18n.t('supplier.unknown_user_name')
|
||||
end
|
||||
|
||||
# This is the user name as it is shown to other users
|
||||
|
||||
Reference in New Issue
Block a user