Skip to content

Move email sending until after payment has been created#143

Merged
castaway merged 1 commit into
masterfrom
castaway/sends_email_no_payment
May 16, 2026
Merged

Move email sending until after payment has been created#143
castaway merged 1 commit into
masterfrom
castaway/sends_email_no_payment

Conversation

@castaway
Copy link
Copy Markdown
Member

@castaway castaway commented May 1, 2026

Fix bug: update_door_access needs an is_admin value

Fix bug: update_door_access needs an is_admin value
Copy link
Copy Markdown
Member

@theorbtwo theorbtwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor change suggested, but approved anyway.

my $r_email = $self->communications_rs->find({type => 'reminder_email'});
$r_email->delete if $r_email;
}
my $is_rejoining = $valid_date && $valid_date < $now ? 1 : 0;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ? 1 : 0 to is unnecessary and (potentially) confusing here. It's only being used as a bool, so exactly what true value and false value get used is irrelevant.

@castaway castaway merged commit 9307890 into master May 16, 2026
2 checks passed
@castaway castaway deleted the castaway/sends_email_no_payment branch May 16, 2026 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants