Merge pull request #66 from Bossett/patch-1
Remove agent.api.app.bsky.feed.describeFeedGenerator
This commit is contained in:
commit
f1e9010a9a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user