Merge remote-tracking branch 'remotes/origin/develop' into follow-request-notifications
[akkoma] / lib / pleroma / web / api_spec / operations / notification_operation.ex
index c6514f3f23e2c7095e5cdcad39f2e5ebf901defb..64adc5319f7149b37274953ccab0397b5758a782 100644 (file)
@@ -178,7 +178,16 @@ defmodule Pleroma.Web.ApiSpec.NotificationOperation do
   defp notification_type do
     %Schema{
       type: :string,
-      enum: ["follow", "favourite", "reblog", "mention", "poll", "pleroma:emoji_reaction", "move"],
+      enum: [
+        "follow",
+        "favourite",
+        "reblog",
+        "mention",
+        "poll",
+        "pleroma:emoji_reaction",
+        "move",
+        "follow_request"
+      ],
       description: """
       The type of event that resulted in the notification.