From be03338a74f9ca1a238eed82c0034903b6b22333 Mon Sep 17 00:00:00 2001 From: Anton Burnashev Date: Tue, 14 May 2024 14:26:26 +0200 Subject: [PATCH] update the example cursor key --- docs/website/docs/general-usage/http/rest-client.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/website/docs/general-usage/http/rest-client.md b/docs/website/docs/general-usage/http/rest-client.md index efeeb9e4f0..d3f4f379f1 100644 --- a/docs/website/docs/general-usage/http/rest-client.md +++ b/docs/website/docs/general-usage/http/rest-client.md @@ -376,7 +376,7 @@ class PostBodyPaginator(BasePaginator): if not response.json(): self._has_next_page = False else: - self.cursor = response.json().get("cursor") + self.cursor = response.json().get("next_page_cursor") def update_request(self, request: Request) -> None: if request.json is None: