OpenAPI: Add follow_request to notification types

Closes #1731
This commit is contained in:
rinpatch 2020-05-01 22:48:30 +03:00
parent 4c0af1cb66
commit c18ef452b0

View File

@ -178,7 +178,16 @@ defp notification 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.