Skip to content

Commit

Permalink
Add nil
Browse files Browse the repository at this point in the history
  • Loading branch information
dngst committed Feb 19, 2024
1 parent 41f81cf commit 925bb9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/users_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def authorize_profile_access
end

def initialize_paystack_service
@paystack_service = PaystackService.new(ENV.fetch('PAYSTACK_SECRET_KEY'))
@paystack_service = PaystackService.new(ENV.fetch('PAYSTACK_SECRET_KEY', nil))
end

def handle_customer_details
Expand Down

0 comments on commit 925bb9f

Please sign in to comment.