1
0
зеркало из https://github.com/glebtv/telegram-bot.git synced 2026-08-28 15:26:18 +03:00

fix: deprecation warning in routes_helper

Этот коммит содержится в:
Maksym Prokopov
2025-10-25 12:00:36 +02:00
родитель 343e7179e2
Коммит b8ebc2d491

Просмотреть файл

@@ -47,7 +47,7 @@ module Telegram
as: RoutesHelper.route_name_for_bot(bot),
format: false,
}.merge!(options)
post(path || "telegram/#{bot.token && RoutesHelper.token_hash(bot.token)}", params)
post(path || "telegram/#{bot.token && RoutesHelper.token_hash(bot.token)}", **params)
UpdatesPoller.add(bot, controller) if Telegram.bot_poller_mode?
end
end