From 12c6d8755bb99473609fc1c36a9e93c9f6a1b3e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Sun, 25 Jan 2026 03:38:02 +0100 Subject: [PATCH] pl-api: mention feature definition in comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nicole mikołajczyk --- packages/pl-api/lib/client.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/pl-api/lib/client.ts b/packages/pl-api/lib/client.ts index 0c7aabb6f..44c1ec0dc 100644 --- a/packages/pl-api/lib/client.ts +++ b/packages/pl-api/lib/client.ts @@ -3759,6 +3759,8 @@ class PlApiClient { * View profile directory * List accounts visible in the directory. * @see {@link https://docs.joinmastodon.org/methods/directory/#get} + * + * Requires features{@link Features.profileDirectory}. */ profileDirectory: async (params?: ProfileDirectoryParams) => { const response = await this.request('/api/v1/directory', { params });