Skip to content

Commit

Permalink
partial bluesky-social#146 - Update viewing-feeds.mdx sample to avoid…
Browse files Browse the repository at this point in the history
… 500

improve example to get Feed with an empty cursot to avoid false example that produce 500 error
  • Loading branch information
boly38 authored May 16, 2024
1 parent 6319f3f commit d441e30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/tutorials/viewing-feeds.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The Bluesky agent you created in the [Get Started](/docs/get-started) section ha
<TabItem value="ts" label="Typescript">
```typescript title="agent.getTimeline"
const { data } = await agent.getTimeline({
cursor: "...",
cursor: "",
limit: 30,
});

Expand All @@ -36,7 +36,7 @@ The Bluesky agent you created in the [Get Started](/docs/get-started) section ha
</TabItem>
<TabItem value="python" label="Python">
```python title="client.get_timeline"
data = client.get_timeline(cursor='...', limit=30)
data = client.get_timeline(cursor='', limit=30)

feed = data.feed
next_page = data.cursor
Expand Down

0 comments on commit d441e30

Please sign in to comment.