Skip to content

Commit da3558c

Browse files
author
David Heinemeier Hansson
committed
Style
1 parent 9550ffe commit da3558c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/importmap/packager.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def parse_service_error(response)
7575
end
7676

7777
def post_json(body)
78-
Net::HTTP.post(self.class.endpoint, body.to_json, { "Content-Type" => "application/json" })
78+
Net::HTTP.post(self.class.endpoint, body.to_json, "Content-Type" => "application/json")
7979
rescue => error
8080
raise HTTPError, "Unexpected transport error (#{error.class}: #{error.message})"
8181
end

0 commit comments

Comments
 (0)