diff options
author | Reverite <github@reverite.sh> | 2019-11-21 21:52:48 -0500 |
---|---|---|
committer | Reverite <github@reverite.sh> | 2019-11-21 21:52:48 -0500 |
commit | 37a9551c3fe59dd1f50a363ce2532c5f00fdf228 (patch) | |
tree | c3972adfaaf33034bd9efd069881a2090f35e912 /app/controllers/api/v1/accounts/credentials_controller.rb | |
parent | b2c43eeece54980657875b29507e503531b010de (diff) | |
parent | 55f5e81a9dc4c6cede5d43e549061be2ea9be614 (diff) |
Merge branch 'glitch' into production
Diffstat (limited to 'app/controllers/api/v1/accounts/credentials_controller.rb')
-rw-r--r-- | app/controllers/api/v1/accounts/credentials_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v1/accounts/credentials_controller.rb b/app/controllers/api/v1/accounts/credentials_controller.rb index e77f57910..64b5cb747 100644 --- a/app/controllers/api/v1/accounts/credentials_controller.rb +++ b/app/controllers/api/v1/accounts/credentials_controller.rb @@ -25,7 +25,7 @@ class Api::V1::Accounts::CredentialsController < Api::BaseController end def user_settings_params - return nil unless params.key?(:source) + return nil if params[:source].blank? source_params = params.require(:source) |