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

tweak: Move user filter for drafts #2907

Merged
merged 4 commits into from
Dec 18, 2024
Merged

Conversation

hannahpurcell
Copy link
Collaborator

user_id is only needed in db_detour_to_detour for the sake of filtering out draft detours not created by the current user. That can and should be done in the parent function, not in categorize_detour. Refactored to simplify. Useful for the detours channel work

@hannahpurcell hannahpurcell requested a review from a team as a code owner December 11, 2024 00:12
@hannahpurcell hannahpurcell mentioned this pull request Dec 11, 2024
1 task
@firestack firestack merged commit ee16c4a into main Dec 18, 2024
10 checks passed
@firestack firestack deleted the hp/move-user-filter-for-drafts branch December 18, 2024 13:52
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