We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9550ffe commit da3558cCopy full SHA for da3558c
lib/importmap/packager.rb
@@ -75,7 +75,7 @@ def parse_service_error(response)
75
end
76
77
def post_json(body)
78
- Net::HTTP.post(self.class.endpoint, body.to_json, { "Content-Type" => "application/json" })
+ Net::HTTP.post(self.class.endpoint, body.to_json, "Content-Type" => "application/json")
79
rescue => error
80
raise HTTPError, "Unexpected transport error (#{error.class}: #{error.message})"
81
0 commit comments