Remove untested change to payments

This commit is contained in:
Nihal Mohammed
2021-05-08 23:51:38 +05:30
parent 026942dd72
commit e485a4a8ef

View File

@@ -14,7 +14,7 @@ module Api
end
def payments
object.payments.joins(:payment_method).includes(:spree_payments).where('state IN (?)', %w(completed pending))
object.payments.joins(:payment_method).where('state IN (?)', %w(completed pending))
end
def shop_id