From a849959915d846801dc8da8bde8f694ec4fcb029 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Thu, 10 Aug 2017 11:15:51 +0900 Subject: [PATCH] Fix missing parameter. --- app/jobs/onceoff/fix_primary_emails_for_staged_users.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/jobs/onceoff/fix_primary_emails_for_staged_users.rb b/app/jobs/onceoff/fix_primary_emails_for_staged_users.rb index a75f9f0e375..dc18b9de0c2 100644 --- a/app/jobs/onceoff/fix_primary_emails_for_staged_users.rb +++ b/app/jobs/onceoff/fix_primary_emails_for_staged_users.rb @@ -1,6 +1,6 @@ module Jobs class FixPrimaryEmailsForStagedUsers < Jobs::Onceoff - def execute_onceoff + def execute_onceoff(args) User.exec_sql <<~SQL INSERT INTO user_emails ( user_id,