Skip to content

Commit

Permalink
Fix referencing issue with Partners::RequestCreateService
Browse files Browse the repository at this point in the history
  • Loading branch information
Edwin authored and Edwin committed Feb 21, 2021
1 parent 93ace7e commit 2c6c5c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/partners/request_create_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def organization_id
end

def partner
@partner ||= Partners::User.find_by(partner_id: partner_user_id).partner
@partner ||= Partners::User.find(partner_user_id).partner
end

def build_organization_request(partner_request)
Expand Down

0 comments on commit 2c6c5c5

Please sign in to comment.