Apply suggestion to lib/pleroma/web/pleroma_api/subscription_notification_controller.ex
This commit is contained in:
parent
6042e21b25
commit
2688b876ab
|
@ -9,7 +9,6 @@ defmodule Pleroma.Web.PleromaAPI.SubscriptionNotificationController do
|
||||||
|
|
||||||
alias Pleroma.SubscriptionNotification
|
alias Pleroma.SubscriptionNotification
|
||||||
alias Pleroma.Web.PleromaAPI.PleromaAPI
|
alias Pleroma.Web.PleromaAPI.PleromaAPI
|
||||||
alias Pleroma.Web.PleromaAPI.SubscriptionNotificationView
|
|
||||||
|
|
||||||
def list(%{assigns: %{user: user}} = conn, params) do
|
def list(%{assigns: %{user: user}} = conn, params) do
|
||||||
notifications = PleromaAPI.get_subscription_notifications(user, params)
|
notifications = PleromaAPI.get_subscription_notifications(user, params)
|
||||||
|
|
Loading…
Reference in New Issue