Skip to content

Commit

Permalink
remove if statement per platform requests
Browse files Browse the repository at this point in the history
  • Loading branch information
GcioGregg committed Dec 2, 2024
1 parent ce23668 commit fd9998c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/meb_api/lib/authentication_token_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ class AuthenticationTokenService
TYP = 'JWT'
KID = 'vanotify'
SIGNING_KEY = Settings.dgi.jwt.private_key_path
RSA_PRIVATE = OpenSSL::PKey::RSA.new(File.read(SIGNING_KEY)) if File.exist?(SIGNING_KEY)
RSA_PRIVATE = OpenSSL::PKey::RSA.new(File.read(SIGNING_KEY))
DECODING_KEY = Settings.dgi.jwt.public_key_path
RSA_PUBLIC = OpenSSL::PKey::RSA.new(File.read(DECODING_KEY)) if File.exist?(DECODING_KEY)
RSA_PUBLIC = OpenSSL::PKey::RSA.new(File.read(DECODING_KEY))

def self.call
payload = {
Expand Down

0 comments on commit fd9998c

Please sign in to comment.