projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'bugfix/mix.exs-version-dot-git-less' into 'develop'
[akkoma]
/
lib
/
pleroma
/
web
/
api_spec
/
operations
/
notification_operation.ex
diff --git
a/lib/pleroma/web/api_spec/operations/notification_operation.ex
b/lib/pleroma/web/api_spec/operations/notification_operation.ex
index c6514f3f23e2c7095e5cdcad39f2e5ebf901defb..41328b5f28edbb903074d602a3be7ba85d0b3e23 100644
(file)
--- a/
lib/pleroma/web/api_spec/operations/notification_operation.ex
+++ b/
lib/pleroma/web/api_spec/operations/notification_operation.ex
@@
-145,7
+145,7
@@
defmodule Pleroma.Web.ApiSpec.NotificationOperation do
}
end
}
end
- def
p
notification do
+ def notification do
%Schema{
title: "Notification",
description: "Response schema for a notification",
%Schema{
title: "Notification",
description: "Response schema for a notification",
@@
-178,7
+178,16
@@
defmodule Pleroma.Web.ApiSpec.NotificationOperation do
defp notification_type do
%Schema{
type: :string,
defp notification_type do
%Schema{
type: :string,
- enum: ["follow", "favourite", "reblog", "mention", "poll", "pleroma:emoji_reaction", "move"],
+ enum: [
+ "follow",
+ "favourite",
+ "reblog",
+ "mention",
+ "pleroma:emoji_reaction",
+ "pleroma:chat_mention",
+ "move",
+ "follow_request"
+ ],
description: """
The type of event that resulted in the notification.
description: """
The type of event that resulted in the notification.