Fix tags to be strings, not symbols

This commit is contained in:
Dan Milne
2024-08-22 10:42:15 +10:00
parent 70cdeef9ac
commit d54c6d2cd7

View File

@@ -41,7 +41,7 @@ module Paapi
end end
def get_items(item_ids:, **options) def get_items(item_ids:, **options)
payload = {PartnerTag: partner_tag, PartnerType: "Associates", ItemIds: Array(item_ids), Resources: @resources}.merge(options) payload = {"PartnerTag" => partner_tag, "PartnerType" => "Associates", ItemIds: Array(item_ids), Resources: @resources}.merge(options)
request(op: :get_items, payload: payload) request(op: :get_items, payload: payload)
end end