Skip to content

Commit

Permalink
fix renew endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
chen-lightspeed committed Dec 6, 2024
1 parent 762a85f commit 0112b76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lightspeed_restaurant/operations/renew.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module LightspeedRestaurantClient
module Operations
module Renew
def renew(id, configuration = nil)
response = JSON.parse(LightspeedRestaurantClient.post("#{default_resource_path}/#{id}/renew", {}, configuration))
response = JSON.parse(LightspeedRestaurantClient.post("#{default_resource_path}/#{id}/renew", {}, {}, configuration))
new(response)
end
end
Expand Down

0 comments on commit 0112b76

Please sign in to comment.