Skip to content

Commit

Permalink
fix whitespace in applications_controller
Browse files Browse the repository at this point in the history
  • Loading branch information
ndushay committed Sep 10, 2019
1 parent 2ed22af commit 2dcbfe2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/controllers/application_controller.rb
Expand Up @@ -29,11 +29,11 @@ def check_auth_token

def decoded_auth_token
@decoded_auth_token ||= begin
body = JWT.decode(http_auth_header, Settings.dor.hmac_secret, true, algorithm: 'HS256').first
HashWithIndifferentAccess.new body
body = JWT.decode(http_auth_header, Settings.dor.hmac_secret, true, algorithm: 'HS256').first
HashWithIndifferentAccess.new body
rescue StandardError
nil
end
end
end

def http_auth_header
Expand Down

0 comments on commit 2dcbfe2

Please sign in to comment.