lib/ledger_sync/domains/operation/transition.rb in ledger_sync-domains-1.0.0.rc8 vs lib/ledger_sync/domains/operation/transition.rb in ledger_sync-domains-1.0.0.rc9
- old
+ new
@@ -47,12 +47,10 @@
def resource_class
@resource_class ||= Object.const_get(params[:model_name])
end
def success
- super(
- serialize(resource: resource)
- )
+ super(resource)
end
def failure(message)
super(
LedgerSync::Error::OperationError.new(