Skip to content

Commit d306497

Browse files
committed
fix job
1 parent ac863ac commit d306497

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/jobs/change_order_status_job.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
class ChangeOrderStatusJob
1+
class ChangeOrderStatusJob < ApplicationJob
22
attr_accessor :account_id
33

44
def perform(old_status, new_status, account_id)
@@ -13,7 +13,7 @@ def perform(old_status, new_status, account_id)
1313

1414
Services::Bling::UpdateOrderStatus.call(
1515
tenant: account_id,
16-
order_ids: [orders_ids],
16+
order_ids: orders_ids,
1717
new_status:
1818
)
1919
end

0 commit comments

Comments
 (0)