lib/clowne/resolvers/after_persist.rb in clowne-1.2.0 vs lib/clowne/resolvers/after_persist.rb in clowne-1.3.0

- old
+ new

@@ -6,10 +6,10 @@ def self.call(source, record, declaration, params:, **_options) operation = Clowne::Utils::Operation.current params ||= {} operation.add_after_persist( proc do - declaration.block.call(source, record, params.merge(mapper: operation.mapper)) + declaration.block.call(source, record, **params.merge(mapper: operation.mapper)) end ) record end end