Skip to content

Commit

Permalink
fix: formatting and linting
Browse files Browse the repository at this point in the history
  • Loading branch information
MarioRodrigues10 committed Dec 17, 2023
1 parent 1f93f8e commit a0c16d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/safira_web/controllers/attendee_controller.ex
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ defmodule SafiraWeb.AttendeeController do
end

def show(conn, %{"id" => id}) do

attendee =
case String.match?(id, @uuid_regex) do
true ->
Accounts.get_attendee_with_badge_count_by_id!(id)

_ ->
Accounts.get_attendee_by_username!(id)
end
Expand Down

0 comments on commit a0c16d1

Please sign in to comment.