mirror of
https://github.com/System-End/identity-vault.git
synced 2026-04-19 20:55:11 +00:00
lol
This commit is contained in:
parent
c472be5115
commit
c67523582c
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ module Backend
|
|||
|
||||
when "oauth_apps"
|
||||
if current_user.super_admin? || current_user.program_manager?
|
||||
Doorkeeper::Application.where("name ILIKE ? OR uid = ?", "%#{query}%", query).limit(10).each do |app|
|
||||
Program.where("name ILIKE ? OR uid = ?", "%#{query}%", query).limit(10).each do |app|
|
||||
results << {
|
||||
type: "oauth_app",
|
||||
id: app.id,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue