Change follow_operation schema to use type BooleanLike #301

Merged
floatingghost merged 3 commits from ave/akkoma:fix-follow-schema into develop 2022-11-24 11:27:01 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 6328bb94f0 - Show all commits

View File

@ -223,12 +223,12 @@ defmodule Pleroma.Web.ApiSpec.AccountOperation do
type: :object,
properties: %{
reblogs: %Schema{
type: :boolean,
allOf: [BooleanLike],
description: "Receive this account's reblogs in home timeline? Defaults to true.",
default: true
},
notify: %Schema{
type: :boolean,
allOf: [BooleanLike],
description:
"Receive notifications for all statuses posted by the account? Defaults to false.",
default: false