From fb7ac68eceeabfa503eb8566bf5f22b52218b3c4 Mon Sep 17 00:00:00 2001 From: Hazel K Date: Wed, 9 Oct 2024 16:09:03 -0400 Subject: [PATCH] match following endpoint default values with frontend defaults --- packages/backend/src/server/api/endpoints/notes/following.ts | 4 ++-- packages/misskey-js/src/autogen/types.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/backend/src/server/api/endpoints/notes/following.ts b/packages/backend/src/server/api/endpoints/notes/following.ts index 9606c0f19e..a75a928009 100644 --- a/packages/backend/src/server/api/endpoints/notes/following.ts +++ b/packages/backend/src/server/api/endpoints/notes/following.ts @@ -34,9 +34,9 @@ export const paramDef = { properties: { mutualsOnly: { type: 'boolean', default: false }, filesOnly: { type: 'boolean', default: false }, - includeNonPublic: { type: 'boolean', default: true }, + includeNonPublic: { type: 'boolean', default: false }, includeReplies: { type: 'boolean', default: false }, - includeQuotes: { type: 'boolean', default: true }, + includeQuotes: { type: 'boolean', default: false }, limit: { type: 'integer', minimum: 1, maximum: 100, default: 10 }, sinceId: { type: 'string', format: 'misskey:id' }, diff --git a/packages/misskey-js/src/autogen/types.ts b/packages/misskey-js/src/autogen/types.ts index cedf0cad7d..98f09c047e 100644 --- a/packages/misskey-js/src/autogen/types.ts +++ b/packages/misskey-js/src/autogen/types.ts @@ -22298,11 +22298,11 @@ export type operations = { mutualsOnly?: boolean; /** @default false */ filesOnly?: boolean; - /** @default true */ + /** @default false */ includeNonPublic?: boolean; /** @default false */ includeReplies?: boolean; - /** @default true */ + /** @default false */ includeQuotes?: boolean; /** @default 10 */ limit?: number;