diff options
author | Alex Gleason <alex@alexgleason.me> | 2021-05-22 14:59:12 -0500 |
---|---|---|
committer | Alex Gleason <alex@alexgleason.me> | 2021-05-22 14:59:12 -0500 |
commit | aa5e29331970e7c1246ed37777d4aeee0b86ed47 (patch) | |
tree | 87176d85a86b8f63faf7ef55fea8d38bb681f667 /lib/pleroma/web/pleroma_api/controllers/notification_controller.ex | |
parent | 3beff6a9faaaab5500b56af868b0fd9ab99fc005 (diff) | |
download | pleroma-aa5e29331970e7c1246ed37777d4aeee0b86ed47.tar.gz |
Cycles: Break apart PleromaAPI.NotificationView from MastodonAPI.NotificationView
Diffstat (limited to 'lib/pleroma/web/pleroma_api/controllers/notification_controller.ex')
-rw-r--r-- | lib/pleroma/web/pleroma_api/controllers/notification_controller.ex | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/pleroma/web/pleroma_api/controllers/notification_controller.ex b/lib/pleroma/web/pleroma_api/controllers/notification_controller.ex index 257bcd550..bcb3a9ae1 100644 --- a/lib/pleroma/web/pleroma_api/controllers/notification_controller.ex +++ b/lib/pleroma/web/pleroma_api/controllers/notification_controller.ex @@ -14,8 +14,6 @@ defmodule Pleroma.Web.PleromaAPI.NotificationController do %{scopes: ["write:notifications"]} when action == :mark_as_read ) - plug(:put_view, Pleroma.Web.MastodonAPI.NotificationView) - defdelegate open_api_operation(action), to: Pleroma.Web.ApiSpec.PleromaNotificationOperation def mark_as_read(%{assigns: %{user: user}, body_params: %{id: notification_id}} = conn, _) do |