mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Don't serialize payment ID (not used)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
class Api::PaymentSerializer < ActiveModel::Serializer
|
||||
attributes :identifier, :amount, :updated_at, :payment_method
|
||||
attributes :amount, :updated_at, :payment_method
|
||||
def payment_method
|
||||
object.payment_method.name
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user