Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Commit 26312cc

Browse files
author
Jon Yurek
committed
Do not set the Content-Type when it wasn't before
1 parent 6806316 commit 26312cc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/cc/services/flowdock.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ def notify(subject, project, content)
5454
}
5555

5656
url = "#{BASE_URL}/messages/team_inbox/#{config.api_token}"
57-
http.headers['Content-Type'] = 'application/json'
5857
http.headers["User-Agent"] = "Code Climate"
5958

6059
post(url, params)

0 commit comments

Comments
 (0)