Skip to content

Commit

Permalink
refactor(Telegram): deactivate telegram hook
Browse files Browse the repository at this point in the history
  • Loading branch information
CarloGauss33 committed Sep 28, 2023
1 parent 18f5ea6 commit b20b520
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions bin/release
Original file line number Diff line number Diff line change
Expand Up @@ -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'
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit b20b520

Please sign in to comment.