lib/weasel/concerns/auditable.rb in weasel-3.0.2 vs lib/weasel/concerns/auditable.rb in weasel-3.1.0
- old
+ new
@@ -8,10 +8,10 @@
begin
yield
ensure
return unless actor.present?
- Weasel::EventsWorker.perform_async(actor.class.name, actor.id, request_data)
+ Weasel::EventsWorker.perform_async(actor.class.name, actor.id, MultiJson.dump(request_data))
end
end
private