From 35f8fc43b056742256cbc61e794ac87595ff8ca9 Mon Sep 17 00:00:00 2001 From: Ryo Takaishi Date: Sat, 7 Dec 2024 16:26:18 +0900 Subject: [PATCH] fix: rubocop --- app/jobs/generate_entrysheet_job.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/jobs/generate_entrysheet_job.rb b/app/jobs/generate_entrysheet_job.rb index 735f05793..ee229294d 100644 --- a/app/jobs/generate_entrysheet_job.rb +++ b/app/jobs/generate_entrysheet_job.rb @@ -5,7 +5,7 @@ class GenerateEntrysheetJob < ApplicationJob def perform(conference_id, profile_id, speaker_id = nil, printer_id = nil) puts("printer_id: #{printer_id}") conference = Conference.find(conference_id) - obj = { profile_id:, speaker_id:}.to_json + obj = { profile_id:, speaker_id: }.to_json encrypted = ActiveSupport::MessageEncryptor.new(Rails.application.secret_key_base.byteslice(0..31)).encrypt_and_sign(obj)