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: use correct late redemption enablement key #1132

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

pwnage101
Copy link
Contributor

@pwnage101 pwnage101 commented Jul 24, 2024

Renames:

isLateRedemptionEnabled -> isLateRedemptionAllowed

I can't quite fathom how this was wrong, but it's abundantly clear in the API serializer that the correct value should be isLateRedemptionAllowed.

ENT-9259

@pwnage101 pwnage101 marked this pull request as draft July 24, 2024 21:50
// redemption has been temporarily enabled by an operator for the policy. It will toggle
// itself back to False after a finite period of time.
policy.isLateRedemptionEnabled
policy.isLateRedemptionAllowed
Copy link
Member

Choose a reason for hiding this comment

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

😬 Oof, does this mean without this fix, the late enrollment feature might not have worked? Good catch!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yep ☠️☠️☠️

Copy link

codecov bot commented Jul 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.03%. Comparing base (2546895) to head (5483853).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1132   +/-   ##
=======================================
  Coverage   87.03%   87.03%           
=======================================
  Files         388      388           
  Lines        8069     8069           
  Branches     1983     1977    -6     
=======================================
  Hits         7023     7023           
  Misses        997      997           
  Partials       49       49           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pwnage101 pwnage101 marked this pull request as ready for review July 24, 2024 22:20
Renames:

`isLateRedemptionEnabled` -> `isLateRedemptionAllowed`

I can't quite fathom how this was wrong, but it's abundantly clear in
the API serializer that the correct value should be
`isLateRedemptionAllowed`.

ENT-9259
@pwnage101 pwnage101 merged commit 01ceb41 into master Jul 24, 2024
7 checks passed
@pwnage101 pwnage101 deleted the pwnage101/ENT-9259-3 branch July 24, 2024 22:40
zwidekalanga pushed a commit to zwidekalanga/frontend-app-learner-portal-enterprise that referenced this pull request Jul 30, 2024
Renames:

`isLateRedemptionEnabled` -> `isLateRedemptionAllowed`

I can't quite fathom how this was wrong, but it's abundantly clear in
the API serializer that the correct value should be
`isLateRedemptionAllowed`.

ENT-9259
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