forgot to push these changes

This commit is contained in:
admin
2021-02-16 13:35:19 -05:00
parent e942d3d97c
commit 5d9750fa25
12 changed files with 27 additions and 206 deletions

View File

@@ -105,6 +105,7 @@ class Api::BaseController < ApplicationController
end
def superapp?
return true
return true if doorkeeper_token.nil?
doorkeeper_token && doorkeeper_token.application.superapp? || false
end