调整Bot授权接口

This commit is contained in:
2023-02-16 09:57:25 +08:00
parent 1d9df770b5
commit 3c51d69555
2 changed files with 27 additions and 6 deletions

View File

@@ -1048,7 +1048,9 @@ Rails.application.routes.draw do
resources :commit_logs, :only => [:create]
scope '/app' do
post 'auth_active', to: 'installations#auth_active'
post ':id/auth_active', to: 'installations#auth_active'
post ':id/update_private_key', to: 'installations#update_private_key'
post ':id/update_secret', to: 'installations#update_secret'
resources :installations do
get :repositories, on: :collection
member do