From fd9998c9d4fba2533f8edb6fe6c4f4eb3618d417 Mon Sep 17 00:00:00 2001 From: GcioGregg <117232882+GcioGregg@users.noreply.github.com> Date: Mon, 2 Dec 2024 08:08:38 -0800 Subject: [PATCH] remove if statement per platform requests --- modules/meb_api/lib/authentication_token_service.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/meb_api/lib/authentication_token_service.rb b/modules/meb_api/lib/authentication_token_service.rb index ea9d819763d..d16f6dd7028 100644 --- a/modules/meb_api/lib/authentication_token_service.rb +++ b/modules/meb_api/lib/authentication_token_service.rb @@ -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 = {