Remove agent.api.app.bsky.feed.describeFeedGenerator

This call appears to just be a gate to stop people publishing custom feeds before the feature was released.

Removed, and publishing appears to have no ill effect. Addresses #65
This commit is contained in:
Bossett 2023-10-01 08:16:47 +11:00 committed by GitHub
parent 364865af58
commit 871febdfec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,14 +45,6 @@ const run = async () => {
const agent = new AtpAgent({ service: 'https://bsky.social' })
await agent.login({ identifier: handle, password })
try {
await agent.api.app.bsky.feed.describeFeedGenerator()
} catch (err) {
throw new Error(
'The bluesky server is not ready to accept published custom feeds yet',
)
}
let avatarRef: BlobRef | undefined
if (avatar) {
let encoding: string