From 0e8128e1bbabaa279ee7fc74bc011a132a5ea830 Mon Sep 17 00:00:00 2001 From: OleG Date: Sun, 2 Apr 2023 09:21:42 +0200 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 59948cd..4395f3c 100644 --- a/README.md +++ b/README.md @@ -159,7 +159,7 @@ import TelegramVaporBot final class TelegramController: RouteCollection { func boot(routes: Vapor.RoutesBuilder) throws { - routes.get("telegramWebHook", use: telegramWebHook) + routes.post("telegramWebHook", use: telegramWebHook) } }