Commit d242d39c by Your Name

update object identifier in API cal

parent 585a6521
......@@ -6,10 +6,10 @@ put "#{APIPREFIX}/threads/:thread_id/abuse_unflags" do |thread_id|
un_flag_as_abuse thread
end
put "#{APIPREFIX}/comments/:comment_id/abuse_flags" do |thread_id|
put "#{APIPREFIX}/comments/:comment_id/abuse_flags" do |comment_id|
flag_as_abuse comment
end
put "#{APIPREFIX}/comments/:comment_id/abuse_unflags" do |thread_id|
put "#{APIPREFIX}/comments/:comment_id/abuse_unflags" do |comment_id|
un_flag_as_abuse comment
end
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment