projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "Merge branch 'issue/1023' into 'develop'"
[akkoma]
/
lib
/
pleroma
/
web
/
mailer
/
subscription_controller.ex
diff --git
a/lib/pleroma/web/mailer/subscription_controller.ex
b/lib/pleroma/web/mailer/subscription_controller.ex
index 2334ebacba7927063c38ac750f153654ae5ac851..478a835187186f05d49b53885978402b11052fd5 100644
(file)
--- a/
lib/pleroma/web/mailer/subscription_controller.ex
+++ b/
lib/pleroma/web/mailer/subscription_controller.ex
@@
-1,7
+1,9
@@
defmodule Pleroma.Web.Mailer.SubscriptionController do
use Pleroma.Web, :controller
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),
def unsubscribe(conn, %{"token" => encoded_token}) do
with {:ok, token} <- Base.decode64(encoded_token),