mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-01 02:03:22 +00:00
fix rubocop styles
This commit is contained in:
@@ -17,8 +17,8 @@ namespace :ofn do
|
||||
# Reset Proxy Orders of the Order Cycle
|
||||
# by detatching them from existing orders and resetting placed and confirmed dates
|
||||
ProxyOrder.find_by(order_cycle_id: order_cycle_id)&.update(order_id: nil,
|
||||
confirmed_at: nil,
|
||||
placed_at: nil)
|
||||
confirmed_at: nil,
|
||||
placed_at: nil)
|
||||
|
||||
# Run placement job to create orders
|
||||
SubscriptionPlacementJob.new.perform
|
||||
|
||||
Reference in New Issue
Block a user