Skip to content

Commit fd5ffca

Browse files
committed
type: remove type assertion
1 parent e5be109 commit fd5ffca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/botkit/src/pages.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ app.post("/follow", async (c) => {
484484

485485
const subscribeLink = webfingerData.links.find(
486486
(link) => link.rel === "http://ostatus.org/schema/1.0/subscribe",
487-
) as { template?: string } | undefined;
487+
);
488488

489489
if (subscribeLink?.template) {
490490
const botActorUri = ctx.getActorUri(bot.identifier);

0 commit comments

Comments
 (0)