We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6981836 commit 9989c4dCopy full SHA for 9989c4d
app/controllers/better_together/events/invitations_controller.rb
@@ -126,7 +126,7 @@ def apply_search_filter(people)
126
def recently_sent?(invitation)
127
return false unless invitation.last_sent.present?
128
129
- if invitation.last_sent < 15.minutes.ago
+ if invitation.last_sent > 15.minutes.ago
130
Rails.logger.info("Invitation #{invitation.id} recently sent; skipping resend")
131
true
132
else
0 commit comments