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 typo in status.setCode() method in category update script #2887

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AlgoJerViA
Copy link

Summary

This PR fixes a typo in the category update script where status.setCode() was mistakenly written as tatus.setCode().

Changes

  • Corrected the typo from tatus.setCode to status.setCode in the script responsible for updating category names.

Impact

This fix ensures that proper error handling is in place when the 'name' parameter is missing from the JSON request. The corrected status.setCode() method will now function as intended, returning the appropriate status code and message.

Testing

  • Reviewed the code to ensure there are no other instances of similar typos.
  • Basic functionality was manually tested to confirm that the script handles missing 'name' parameters correctly after the fix.

Related Issues

N/A

Notes

No additional dependencies or changes outside of this typo correction are introduced in this PR.

@jottley jottley added the external External Contribution label Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external External Contribution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants