diff options
Diffstat (limited to 'lib/api/users.rb')
-rw-r--r-- | lib/api/users.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/users.rb b/lib/api/users.rb index 2f54b8c0fae..54228373512 100644 --- a/lib/api/users.rb +++ b/lib/api/users.rb @@ -952,6 +952,7 @@ module API params do optional :emoji, type: String, desc: "The emoji to set on the status" optional :message, type: String, desc: "The status message to set" + optional :availability, type: String, desc: "The availability of user to set" end put "status", feature_category: :users do forbidden! unless can?(current_user, :update_user_status, current_user) |