fix: Allow integration apps to be listed by an agent (#6587)

* fix: Allow integration apps to be listed by an agent

* Fix rubocop
This commit is contained in:
Pranav Raj S
2023-03-01 23:32:21 -08:00
committed by GitHub
parent 61d0a63bf7
commit 9e8eb293e9
4 changed files with 29 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
class Api::V1::Accounts::Integrations::AppsController < Api::V1::Accounts::BaseController
before_action :check_admin_authorization?
before_action :check_admin_authorization?, except: [:index, :show]
before_action :fetch_apps, only: [:index]
before_action :fetch_app, only: [:show]