Commit a240042c40c0c97c10fed1c52e5bffd4c4321799

Thomas de Grivel 2022-01-24T15:22:03

remove debug message

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/lib/kmxgit_web/templates/user/avatar.html.heex b/lib/kmxgit_web/templates/user/avatar.html.heex
index 16bf570..cbf3563 100644
--- a/lib/kmxgit_web/templates/user/avatar.html.heex
+++ b/lib/kmxgit_web/templates/user/avatar.html.heex
@@ -1,6 +1,6 @@
 <% user = UserManager.get_user_by_email(@email) %>
 <%= if user do %>
-  <% avatar_path = Avatar.path(user, @size) |> IO.inspect() %>
+  <% avatar_path = Avatar.path(user, @size) %>
   <%= link to: Routes.slug_path(@conn, :show, User.login(user)) do %><%= if File.exists?(avatar_path) do %><%= img_tag(Routes.user_path(@conn, :avatar, User.login(user), @size), alt: @title, title: @title, class: @class) %><% else %><img src={Exgravatar.gravatar_url(@email, s: @size)} alt={@title} title={@title} class={@class} /><% end %><% end %>
 <% else %>
   <img src={Exgravatar.gravatar_url(@email, s: @size)} alt={@title} title={@title} class={@class} />