Update reference to removed method

This commit is contained in:
Matt-Yorkley
2023-05-09 13:24:28 +01:00
committed by Konrad
parent 0ed7599267
commit c3d6b2280f

View File

@@ -10,6 +10,6 @@ class Invoice < ApplicationRecord
end
def serialize_order
self.data ||= order.serialize_for_invoice
self.data ||= Invoice::OrderSerializer.new(order).serializable_hash
end
end