From 4e768343bcd0ae468aac4cd0fbba53082df86694 Mon Sep 17 00:00:00 2001 From: Louis Date: Wed, 24 Nov 2021 11:26:07 +0100 Subject: [PATCH] fix: Fixed doc on userMutingUsers --- doc/v2.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/v2.md b/doc/v2.md index 28315dd..8791533 100644 --- a/doc/v2.md +++ b/doc/v2.md @@ -801,16 +801,17 @@ Get to know how [paginators work here](./paginators.md). **Right level**: `Read-only` **Arguments**: + - `loggedUserId: string`: Logged user (you) ID - `options?: UserV2TimelineParams` **Returns**: `UserMutingUsersV2Paginator` **Example** ```ts -const mutedPaginator = await client.v2.userMutingUsers(); +const mutedPaginator = await client.v2.userMutingUsers('14'); for await (const mutedUser of mutedPaginator) { - console.log(`You are blocking @${mutedUser.username}.`); + console.log(`You are muting @${mutedUser.username}.`); } ```