Revert "Pleroma.Web.PleromaAPI.NotificationController: dialyzer errors"
This reverts commit 26a95e5787.
This commit is contained in:
parent
1e76ceacd5
commit
4a80a285d1
2 changed files with 4 additions and 7 deletions
|
|
@ -24,11 +24,8 @@ defmodule Pleroma.Web.ApiSpec.PleromaNotificationOperation do
|
|||
request_body("Parameters", %Schema{
|
||||
type: :object,
|
||||
properties: %{
|
||||
"id" => %Schema{type: :integer, description: "A single notification ID to read"},
|
||||
"max_id" => %Schema{
|
||||
type: :integer,
|
||||
description: "Read all notifications up to this ID"
|
||||
}
|
||||
id: %Schema{type: :integer, description: "A single notification ID to read"},
|
||||
max_id: %Schema{type: :integer, description: "Read all notifications up to this ID"}
|
||||
}
|
||||
}),
|
||||
security: [%{"oAuth" => ["write:notifications"]}],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue