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: Allow UserOut to accept list of slugs for recipe favorites #3283

Conversation

michael-genson
Copy link
Collaborator

What type of PR is this?

(REQUIRED)

  • bug

What this PR does / why we need it:

(REQUIRED)

#3134 adapted previous Pydantic V1 behavior with getter dicts by converting recipes to their slugs using a validator. However, sometimes a list of slugs is passed directly, which doesn't work anymore. This fixes that.

Which issue(s) this PR fixes:

(REQUIRED)

Fixes #3282

Testing

(fill-in or delete this section)

Manually added/removed recipe favorites and updated other unrelated user settings (as shown in #3282)

@michael-genson michael-genson force-pushed the fix/recipe-favorite-slug-handling branch from 1ecaa9f to 48fb200 Compare March 11, 2024 00:25
@michael-genson michael-genson force-pushed the fix/recipe-favorite-slug-handling branch from 48fb200 to 21d5773 Compare March 11, 2024 00:25
@boc-the-git
Copy link
Collaborator

LGTM 🚀

@boc-the-git boc-the-git merged commit 430e1d7 into mealie-recipes:mealie-next Mar 11, 2024
10 checks passed
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.

[BUG] - Internal Server Error when changing Authentication Method
2 participants