lib/sim_repo.rb 🔗
@@ -43,7 +43,7 @@ class SIMRepo
iccid = sim.is_a?(String) ? sim : sim.iccid
req("line/#{iccid}/refill").apost(
- head: KEEPGO_HEADERS,
+ head: KEEPGO_HEADERS.merge("Content-Type" => "application/json"),
body: kwargs.to_json
).then { |req| JSON.parse(req.response) }
end