Skip to content

Commit

Permalink
Update payload for approve order
Browse files Browse the repository at this point in the history
  • Loading branch information
dsgraham committed Jan 30, 2024
1 parent cda0ac6 commit fb4a8a1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions lib/site_impact/resources/order.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ def read(order_id)

def approve(order_id, opts)
client.post("orders/#{order_id}/approvals",
data: {
broadcast_date: opts[:broadcast_date],
broadcast_time: opts[:broadcast_time],
broadcast_timezone: 1,
{
data: {
broadcast_date: opts[:broadcast_date],
broadcast_time: opts[:broadcast_time],
broadcast_timezone: 1,
}
}
)
end
Expand Down

0 comments on commit fb4a8a1

Please sign in to comment.