Skip to content

Commit

Permalink
Add check for funding rejection before sending invitation
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew committed Mar 5, 2025
1 parent 2889c41 commit ac0df32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/project_allocation.rb
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,7 @@ def create_invite
def send_invitation
return if funding_source.present?
return if invitation.present?
return if funding_rejected?

invitation = create_invite

Expand Down

0 comments on commit ac0df32

Please sign in to comment.