Skip to content

Commit e8a47f7

Browse files
committed
remove: unused bot handle constant
1 parent 313a07e commit e8a47f7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/botkit/src/pages.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,8 +436,6 @@ app.get("/feed.xml", async (c) => {
436436
app.post("/follow", async (c) => {
437437
const { bot } = c.env;
438438
const ctx = bot.federation.createContext(c.req.raw, c.env.contextData);
439-
const url = new URL(c.req.url);
440-
const botHandle = `@${bot.username}@${url.host}`;
441439

442440
const formData = await c.req.formData();
443441
let followerHandle = formData.get("handle")?.toString();

0 commit comments

Comments
 (0)