From 3d1a7a02f7ca157ece63814d8269457db263a827 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Mon, 19 Jun 2017 07:29:02 +0900 Subject: [PATCH] Fix typo. --- lib/discourse_hub.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/discourse_hub.rb b/lib/discourse_hub.rb index 73935e1acf3..7a1ae6b31d6 100644 --- a/lib/discourse_hub.rb +++ b/lib/discourse_hub.rb @@ -52,7 +52,7 @@ module DiscourseHub JSON.parse(Excon.send(action, "#{hub_base_url}#{rel_url}", body: params, - headers: { 'Referer' => referer, 'Accept' => accepts.join(', '), 'Content-Type' => 'applicaton/json' } + headers: { 'Referer' => referer, 'Accept' => accepts.join(', '), 'Content-Type' => 'application/json' } ).body) end