From b20b5201a37a4523c4f1862989034d5d74eea023 Mon Sep 17 00:00:00 2001 From: Carlos Paredes Date: Thu, 28 Sep 2023 19:26:38 -0300 Subject: [PATCH] refactor(Telegram): deactivate telegram hook --- bin/release | 2 -- config/routes.rb | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/bin/release b/bin/release index dc75ea1..0a6ecdc 100755 --- a/bin/release +++ b/bin/release @@ -6,6 +6,4 @@ echo 'Release Phase...' bundle exec rails db:migrate -bundle exec rake telegram:bot:set_webhook RAILS_ENV=production - echo 'Release Phase: OK' diff --git a/config/routes.rb b/config/routes.rb index ee64f02..89bb21d 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,6 +1,6 @@ Rails.application.routes.draw do devise_for :admin_users, ActiveAdmin::Devise.config - telegram_webhook Telegram::WebhookController + ActiveAdmin.routes(self) namespace :api, defaults: { format: :json } do namespace :internal do