Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: handle missing force_delete_start date #2758

Merged
merged 1 commit into from
Feb 21, 2025

Conversation

OlegPhenomenon
Copy link
Contributor

Update force_delete_start_date method to handle cases where domain.force_delete_start is not present:

  • Return formatted current date plus expire warning period if force_delete_start is missing
  • Ensure consistent date formatting across scenarios

This change prevents errors when force_delete_start is nil and provides a fallback date based on the current date and configured warning period.

Update `force_delete_start_date` method to handle cases where `domain.force_delete_start` is not present:
- Return formatted current date plus expire warning period if `force_delete_start` is missing
- Ensure consistent date formatting across scenarios

This change prevents errors when `force_delete_start` is nil and provides a fallback date based on the current date and configured warning period.
@vohmar vohmar merged commit 3d8bf86 into master Feb 21, 2025
3 checks passed
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.

2 participants