parent
4c0af1cb66
commit
c18ef452b0
1 changed files with 10 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue