Minor formatting changes

This commit is contained in:
Omar Roth 2018-08-17 11:04:38 -05:00
parent 4760b3c6e7
commit 9a15438c71
11 changed files with 12 additions and 11 deletions

View File

@ -1866,7 +1866,8 @@ get "/api/v1/comments/:id" do |env|
env.response.content_type = "application/json" env.response.content_type = "application/json"
next {"title" => reddit_thread.title, next {"title" => reddit_thread.title,
"permalink" => reddit_thread.permalink, "permalink" => reddit_thread.permalink,
"contentHtml" => content_html}.to_json "contentHtml" => content_html,
}.to_json
end end
end end