Skip to content

Commit

Permalink
fix: Removing unnecessary dbs. #121
Browse files Browse the repository at this point in the history
  • Loading branch information
LuchoTurtle committed Nov 23, 2022
1 parent 6dd47da commit f4a6f14
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion lib/chat_web/controllers/page_controller.ex
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ defmodule ChatWeb.PageController do
def index(conn, _params) do
messages = Chat.Message.get_messages
render(conn, "index.html", messages: messages)
|> dbg()
end
end
1 change: 0 additions & 1 deletion lib/chat_web/views/page_view.ex
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ defmodule ChatWeb.PageView do
use ChatWeb, :view

def person_name(person) do
dbg(person)
person.givenName || person.username || "guest"
end
end

0 comments on commit f4a6f14

Please sign in to comment.