add parameter locked to /api/v1/update_credentials (#6506)

master
Konrad Pozniak 7 years ago committed by Eugen Rochko
parent 78936461d7
commit bb26cdda24
  1. 2
      app/controllers/api/v1/accounts/credentials_controller.rb

@ -20,6 +20,6 @@ class Api::V1::Accounts::CredentialsController < Api::BaseController
private private
def account_params def account_params
params.permit(:display_name, :note, :avatar, :header) params.permit(:display_name, :note, :avatar, :header, :locked)
end end
end end

Loading…
Cancel
Save