Add call to manually_sync!() in FarmEvents::Create

pull/1266/head
Rick Carlino 2019-07-10 16:36:06 -05:00
parent 0a2584542d
commit a0096263b6
1 changed files with 2 additions and 1 deletions

View File

@ -33,9 +33,10 @@ module FarmEvents
FarmEvent.silently do
FarmEvent.transaction do
handle_body_field
farm_event.update_attributes!(p) && farm_event
farm_event.update_attributes!(p)
end
end
farm_event.manually_sync!
end
def validate_ownership