Fix Credo warnings

This commit is contained in:
Roman Chvanikov 2019-04-20 19:57:43 +07:00
commit 724311e151
5 changed files with 8 additions and 6 deletions

View file

@ -1,7 +1,9 @@
defmodule Pleroma.Web.Mailer.SubscriptionController do
use Pleroma.Web, :controller
alias Pleroma.{JWT, Repo, User}
alias Pleroma.JWT
alias Pleroma.Repo
alias Pleroma.User
def unsubscribe(conn, %{"token" => encoded_token}) do
with {:ok, token} <- Base.decode64(encoded_token),