From fe0a25ad47cdd02c8bcbf1783a34d9fb53e1195b Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Mon, 2 Dec 2024 16:03:29 +0100 Subject: [PATCH] fix(client): :bug: Correctly set local parameter on getLocalTimeline --- client/versia/client.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/versia/client.ts b/client/versia/client.ts index 2255e39..1e50c95 100644 --- a/client/versia/client.ts +++ b/client/versia/client.ts @@ -1350,7 +1350,7 @@ export class Client extends BaseClient { } /** - * GET /api/v1/timelines/public + * GET /api/v1/timelines/public?local=true * * @param options.only_media Show only statuses with media attached? Defaults to false. * @param options.limit Max number of results to return. Defaults to 20. @@ -1372,6 +1372,8 @@ export class Client extends BaseClient { ): Promise> { const params = new URLSearchParams(); + params.set("local", "true"); + if (options) { if (options.max_id) { params.set("max_id", options.max_id);