diff --git a/assets/jest.config.js b/assets/jest.config similarity index 100% rename from assets/jest.config.js rename to assets/jest.config diff --git a/lib/entendu/user_from_auth.ex b/lib/entendu/user_from_auth.ex index abc91be..37999f9 100644 --- a/lib/entendu/user_from_auth.ex +++ b/lib/entendu/user_from_auth.ex @@ -66,7 +66,7 @@ defmodule Entendu.UserFromAuth do end end - def can_access?(recipient, %{emails: emails, username: username} = stuff), + def can_access?(recipient, %{emails: emails, username: username}), do: email_matches?(recipient, emails) || username_matches?(recipient, username) defp email_matches?(recipient, emails),