Revert "Pleroma.Web.PleromaAPI.NotificationController: dialyzer errors"

This reverts commit 26a95e5787.
This commit is contained in:
Mark Felder 2024-01-30 14:19:32 -05:00
commit 4a80a285d1
2 changed files with 4 additions and 7 deletions

View file

@ -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"]}],