From c6a5a542725065878d41db403f2f81c46b7c3ab5 Mon Sep 17 00:00:00 2001 From: Jeremy Walker Date: Fri, 8 Nov 2024 18:56:33 +0900 Subject: [PATCH] Remove typo --- app/commands/user/generate_bootcamp_affiliate_coupon_code.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/commands/user/generate_bootcamp_affiliate_coupon_code.rb b/app/commands/user/generate_bootcamp_affiliate_coupon_code.rb index de94d3cfd9..e3d6033a04 100644 --- a/app/commands/user/generate_bootcamp_affiliate_coupon_code.rb +++ b/app/commands/user/generate_bootcamp_affiliate_coupon_code.rb @@ -3,9 +3,6 @@ class User::GenerateBootcampAffiliateCouponCode initialize_with :user - current_user.bootcamp_affiliate_coupon_code.present? - current_user.bootcamp_free_coupon_code.present? - def call # Easy cheap guard return if user_data.bootcamp_affiliate_coupon_code.present?