lib/ledger_sync/domains/operation/update.rb in ledger_sync-domains-1.0.0.rc8 vs lib/ledger_sync/domains/operation/update.rb in ledger_sync-domains-1.0.0.rc9
- old
+ new
@@ -25,12 +25,10 @@
def resource
@resource ||= resource_class.find_by(id: params[:id])
end
def success
- super(
- serialize(resource: resource)
- )
+ super(resource)
end
def failure(message, data: nil)
super(
LedgerSync::Error::OperationError.new(