From 5dc9a418b14c51bade4922e0c74fba21a65cefce Mon Sep 17 00:00:00 2001 From: yanmeng <974166167@qq.com> Date: Thu, 21 Nov 2024 15:45:03 +0800 Subject: [PATCH] api log --- lib/ebay_api.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/ebay_api.rb b/lib/ebay_api.rb index 2d1f9e6..9d091fc 100644 --- a/lib/ebay_api.rb +++ b/lib/ebay_api.rb @@ -62,8 +62,9 @@ class << self "Accept-Charset": charset, "User-Agent": user_agent, "X-Ruby-Client": "https://github.com/nepalez/ebay_api", - "X-Ruby-Framework": "https://github.com/evilmartians/evil-client" - }.merge(form ? { "Content-Type": "multipart/form-data" } : {}).compact + "X-Ruby-Framework": "https://github.com/evilmartians/evil-client", + "Content-Type": "multipart/form-data" + }.compact end response(200, 201) { |_, _, (data, *)| data }