Merge pull request #66 from Bossett/patch-1

Remove agent.api.app.bsky.feed.describeFeedGenerator
This commit is contained in:
Jaz 2023-09-30 14:44:00 -07:00 committed by GitHub
commit f1e9010a9a
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' }) const agent = new AtpAgent({ service: 'https://bsky.social' })
await agent.login({ identifier: handle, password }) 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 let avatarRef: BlobRef | undefined
if (avatar) { if (avatar) {
let encoding: string let encoding: string