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 preference methods returning all the preferences #13

Merged
merged 2 commits into from
Aug 30, 2023

Conversation

paulijar
Copy link
Contributor

Fix what appears to be a copy-paste error:

Calling the method user_preference was returning all the user preferences by invoking the action user_preferences instead of invoking the action matching the method name and returning only the requested preference.

Similarly, the method system_preference was invoking the action system_preferences.

Calling the method `user_preference` was returning all the user
preferences by invoking the action `user_preferences` instead of
invoking the action matching the method name and returning only the
requested preference.

Similarly, the method `system_preference` was invoking the action
`system_preferences`.
The parameter `filter_str` is not optional on the methods
`user_preference` and `system_preference`.
@lachlan-00
Copy link
Member

that's one annoying thing about plurals

@lachlan-00 lachlan-00 merged commit 4d56560 into ampache:master Aug 30, 2023
@paulijar paulijar deleted the feature/fix-preference-methods branch September 1, 2023 13:13
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