From 871febdfec4e4b470f9f6d93cb1f1677f4916c76 Mon Sep 17 00:00:00 2001 From: Bossett Date: Sun, 1 Oct 2023 08:16:47 +1100 Subject: [PATCH] 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 --- scripts/publishFeedGen.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/scripts/publishFeedGen.ts b/scripts/publishFeedGen.ts index 9f226ba..587db4d 100644 --- a/scripts/publishFeedGen.ts +++ b/scripts/publishFeedGen.ts @@ -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