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:
parent
364865af58
commit
871febdfec
@ -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