We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5e13292 + e1a7855 commit 8d83377Copy full SHA for 8d83377
api/comment_threads.rb
@@ -52,7 +52,7 @@
52
53
put "#{APIPREFIX}/threads/:thread_id" do |thread_id|
54
filter_blocked_content params["body"]
55
- thread.update_attributes(params.slice(*%w[title body closed commentable_id group_id thread_type]))
+ thread.update_attributes(params.slice(*%w[title body pinned closed commentable_id group_id thread_type]))
56
57
if thread.errors.any?
58
error 400, thread.errors.full_messages.to_json
0 commit comments