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 improper error notification thrown when monetizing APIs #846

Merged
merged 2 commits into from
Jan 7, 2025

Conversation

Chilliwiddit
Copy link
Contributor

@Chilliwiddit Chilliwiddit commented Jan 7, 2025

Issue

The error message "Something went wrong while configuring monetization" was improperly thrown when disabling/enabling monetization for an API due to the businessPlans object being undefined.

Fix

Prevented the businessPlans ref from being overridden using forwardRef: true.

Fixes wso2/api-manager#3497

Copy link

sonarqubecloud bot commented Jan 7, 2025

@lasanthaS lasanthaS merged commit 6d20821 into wso2:main Jan 7, 2025
3 checks passed
@Chilliwiddit Chilliwiddit deleted the monetization_fix branch January 7, 2025 06:48
npamudika pushed a commit to npamudika/apim-apps that referenced this pull request Jan 10, 2025
npamudika pushed a commit to npamudika/apim-apps that referenced this pull request Jan 10, 2025
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.

Improper error notification thrown when monetizing APIs
2 participants