Skip to content

Commit

Permalink
Fix typo in adapter of webhookCallback (#1164)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hth4nh authored Dec 11, 2024
1 parent 3d3c5f7 commit 4be90bc
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion site/docs/es/hosting/vercel.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ if (!token) throw new Error("Falta BOT_TOKEN.");

const bot = new Bot(token);

export default webhookCallback(bot, "std/http");
export default webhookCallback(bot, "https");
```

::: tip [Vercel Edge Functions](https://vercel.com/docs/functions) proporciona soporte limitado para grammY
Expand Down
2 changes: 1 addition & 1 deletion site/docs/hosting/vercel.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ if (!token) throw new Error("BOT_TOKEN is unset");

const bot = new Bot(token);

export default webhookCallback(bot, "std/http");
export default webhookCallback(bot, "https");
```

::: tip [Vercel Edge Functions](https://vercel.com/docs/functions) provides limited support for grammY
Expand Down
2 changes: 1 addition & 1 deletion site/docs/id/hosting/vercel.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ if (!token) throw new Error("BOT_TOKEN belum diisi");

const bot = new Bot(token);

export default webhookCallback(bot, "std/http");
export default webhookCallback(bot, "https");
```

::: tip [Vercel Edge Functions](https://vercel.com/docs/functions) memiliki dukungan terbatas terhadap grammY
Expand Down
2 changes: 1 addition & 1 deletion site/docs/ru/hosting/vercel.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ if (!token) throw new Error("BOT_TOKEN не установлен");

const bot = new Bot(token);

export default webhookCallback(bot, "std/http");
export default webhookCallback(bot, "https");
```

::: tip [Vercel Edge Functions](https://vercel.com/docs/functions) обеспечивает ограниченную поддержку grammY
Expand Down
2 changes: 1 addition & 1 deletion site/docs/uk/hosting/vercel.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ if (!token) throw new Error("BOT_TOKEN не вказаний");

const bot = new Bot(token);

export default webhookCallback(bot, "std/http");
export default webhookCallback(bot, "https");
```

::: tip [Vercel Edge Functions](https://vercel.com/docs/functions) надає обмежену підтримку grammY
Expand Down
2 changes: 1 addition & 1 deletion site/docs/zh/hosting/vercel.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ if (!token) throw new Error("BOT_TOKEN is unset");

const bot = new Bot(token);

export default webhookCallback(bot, "std/http");
export default webhookCallback(bot, "https");
```

::: tip [Vercel Edge Functions](https://vercel.com/docs/functions) 为 grammY 提供了有限支持
Expand Down

0 comments on commit 4be90bc

Please sign in to comment.