Skip to content

Commit

Permalink
Refactor customer retrieval in update use case
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianoflorentino committed Mar 25, 2024
1 parent b27d5c6 commit e3a79cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/use_cases/customer_use_case/update.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def call
private

def customer
@customer = Customer.find(@customer_id)
Customer.find(@customer_id)
end
end
end

0 comments on commit e3a79cc

Please sign in to comment.