Fix typo.

This commit is contained in:
Guo Xiang Tan 2017-06-19 07:29:02 +09:00
parent baa80c9004
commit 3d1a7a02f7

View File

@ -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