diff --git a/modules/claims_api/app/controllers/claims_api/v2/veterans/power_of_attorney/request_controller.rb b/modules/claims_api/app/controllers/claims_api/v2/veterans/power_of_attorney/request_controller.rb index 28ce18aa08a..ceafd56ed9c 100644 --- a/modules/claims_api/app/controllers/claims_api/v2/veterans/power_of_attorney/request_controller.rb +++ b/modules/claims_api/app/controllers/claims_api/v2/veterans/power_of_attorney/request_controller.rb @@ -112,8 +112,7 @@ def send_declined_notification(ptcpnt_id:, first_name:, representative_id:) encrypted_ptcpnt_id = Base64.strict_encode64(lockbox.encrypt(ptcpnt_id)) encrypted_first_name = Base64.strict_encode64(lockbox.encrypt(first_name)) - ClaimsApi::VANotifyDeclinedJob.perform_async(encrypted_ptcpnt_id:, encrypted_first_name:, - representative_id:) + ClaimsApi::VANotifyDeclinedJob.perform_async(encrypted_ptcpnt_id, encrypted_first_name, representative_id) end def validate_ptcpnt_id!(ptcpnt_id:, proc_id:, representative_id:, service:) diff --git a/modules/claims_api/app/sidekiq/claims_api/va_notify_declined_job.rb b/modules/claims_api/app/sidekiq/claims_api/va_notify_declined_job.rb index 0377d651db9..1f93ffc94cb 100644 --- a/modules/claims_api/app/sidekiq/claims_api/va_notify_declined_job.rb +++ b/modules/claims_api/app/sidekiq/claims_api/va_notify_declined_job.rb @@ -4,7 +4,7 @@ module ClaimsApi class VANotifyDeclinedJob < ClaimsApi::ServiceBase LOG_TAG = 'va_notify_declined_job' - def perform(encrypted_ptcpnt_id:, encrypted_first_name:, representative_id:) + def perform(encrypted_ptcpnt_id, encrypted_first_name, representative_id) lockbox = Lockbox.new(key: Settings.lockbox.master_key) ptcpnt_id = lockbox.decrypt(Base64.strict_decode64(encrypted_ptcpnt_id)) first_name = lockbox.decrypt(Base64.strict_decode64(encrypted_first_name)) diff --git a/modules/claims_api/spec/sidekiq/va_notify_declined_job_spec.rb b/modules/claims_api/spec/sidekiq/va_notify_declined_job_spec.rb index 865df0ddfd1..689b7b92d77 100644 --- a/modules/claims_api/spec/sidekiq/va_notify_declined_job_spec.rb +++ b/modules/claims_api/spec/sidekiq/va_notify_declined_job_spec.rb @@ -32,7 +32,7 @@ template_id: Settings.claims_api.vanotify.declined_service_organization_template_id }) - subject.perform(encrypted_ptcpnt_id:, encrypted_first_name:, representative_id:) + subject.perform(encrypted_ptcpnt_id, encrypted_first_name, representative_id) end end @@ -62,7 +62,7 @@ template_id: Settings.claims_api.vanotify.declined_service_organization_template_id }) - subject.perform(encrypted_ptcpnt_id:, encrypted_first_name:, representative_id:) + subject.perform(encrypted_ptcpnt_id, encrypted_first_name, representative_id) end end end