Permalink
Browse files

Disqus does a 301 redirect on thread_by_identifier.

  • Loading branch information...
bhuga committed Mar 5, 2010
1 parent 860ca92 commit eb1779dd2cc109325a048f694c95bfea98bd131b
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/disqus/api.rb
View
@@ -185,7 +185,7 @@ def get_thread_posts(opts = {})
# * <tt>:title</tt> - the title of the thread to possibly be created
# * <tt>:identifier</tt> - a string of your choosing
def thread_by_identifier(opts = {})
- JSON.parse(post('thread_by_identifier', :forum_api_key => opts[:forum_api_key],
+ JSON.parse(post('thread_by_identifier/', :forum_api_key => opts[:forum_api_key],
:identifier => opts[:identifier],
:title => opts[:title] ))
end
@@ -261,4 +261,4 @@ def validate_opts!(opts)
end
-end
+end

0 comments on commit eb1779d

Please sign in to comment.