Migrate Pleroma.Web to phoenix 1.6 formats
[akkoma] / lib / pleroma / web / mastodon_api / views / notification_view.ex
index 463d31d1ab7863c9648e124a29b89aea2536aaba..e527ff608a2c029c69cf5a99b91e8d1403395df4 100644 (file)
@@ -66,7 +66,7 @@ defmodule Pleroma.Web.MastodonAPI.NotificationView do
       |> Map.put(:parent_activities, parent_activities)
       |> Map.put(:relationships, relationships_opt)
 
-    safe_render_many(notifications, NotificationView, "show.json", opts)
+    render_many(notifications, NotificationView, "show.json", opts)
   end
 
   def render(