Skip to content

Commit

Permalink
more pr cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
Tooyosi committed Feb 7, 2024
1 parent 3107737 commit 9413bb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/api/v1/project_preferences_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def render_json_response
preferences = @project.user_project_preference.where.not(email_communication: nil)
preferences = params[:user_id].present? ? preferences.where(user_id: params[:user_id]) : preferences
end

render(
status: :ok,
json_api: serializer.resource({}, preferences, context)
Expand Down

0 comments on commit 9413bb9

Please sign in to comment.