Skip to content

Commit

Permalink
feat(book_my_gigs): modified GET users by account error response
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabrielparizet committed Nov 11, 2024
1 parent ae59403 commit 4406311
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/book_my_gigs_web/users/users_controller.ex
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ defmodule BookMyGigsWeb.UsersController do

response =
case Users.get_user_by_account_id(account_id) do
{:error, msg} -> msg
{:error, msg} -> %{error: msg}
{:ok, user} -> user
end

Expand Down

0 comments on commit 4406311

Please sign in to comment.