Skip to content

Commit

Permalink
logging 3
Browse files Browse the repository at this point in the history
  • Loading branch information
ErinLMoore committed Jun 11, 2024
1 parent 7cf2d18 commit 0993057
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/concierge_site/lib/controllers/auth_controller.ex
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ defmodule ConciergeSite.AuthController do
@spec get_or_create_user(User.id(), String.t(), String.t() | nil, String.t()) :: User.t()
defp get_or_create_user(id, email, phone_number, role) do
Logger.warn("Inside create user: #{inspect([id, email, phone_number, role])}")
Logger.warn("Actual user id: #{inspect(User.for_email(email).id)}")
case User.get(id) do
nil ->
# The user just created their account in Keycloak so we need to add them to our database
Expand Down

0 comments on commit 0993057

Please sign in to comment.