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

Subscription Delete: fix bug in logic #98554

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

arcangelini
Copy link
Contributor

Related to Automattic/jetpack#40850

Proposed Changes

  • Remove the else, this should error gracefully

Why are these changes being made?

Previously fixed the logic that catches when deleting a subscriber fails to be able to retry deleting the email follows. Accidentally added an else that should not be there.

Testing Instructions

  1. Go to /subscribers and attempt to delete a subscriber
  2. If you happen to know of a stuck user that is not able to be deleted. Try it on that one too.

@arcangelini arcangelini self-assigned this Jan 17, 2025
@matticbot
Copy link
Contributor

This PR modifies the release build for the following Calypso Apps:

For info about this notification, see here: PCYsg-OT6-p2

  • blaze-dashboard
  • notifications
  • wpcom-block-editor

To test WordPress.com changes, run install-plugin.sh $pluginSlug fix/subscription-delete-api-bug on your sandbox.

@matticbot
Copy link
Contributor

This PR does not affect the size of JS and CSS bundles shipped to the user's browser.

Generated by performance advisor bot at iscalypsofastyet.com.

@arcangelini arcangelini merged commit 298d556 into trunk Jan 17, 2025
12 of 14 checks passed
@arcangelini arcangelini deleted the fix/subscription-delete-api-bug branch January 17, 2025 17:29
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