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/repetitive code #5640

Draft
wants to merge 2 commits into
base: staging
Choose a base branch
from
Draft

Conversation

SnailShea
Copy link
Contributor

Created a few functions to remove repeated use of the same lines of code throughout json_api.php. The UI hasn't broken after a full docker compose down && docker compose up -d, and I was able to create a user via API, so I believe this works. I have clicked around pretty much every page in the UI, but I have not tested all API endpoints to verify fully.

Copy link
Member

@DerLinkman DerLinkman left a comment

Choose a reason for hiding this comment

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

Thanks for your PR!

Please test your own PR completely to be ready for merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants