Fix Credo warnings
This commit is contained in:
parent
60f213bb1a
commit
724311e151
5 changed files with 8 additions and 6 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue