Compare commits

..

2 Commits

2 changed files with 1 additions and 1 deletions

View File

@ -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),