diff --git a/app/controllers/api/base_controller.rb b/app/controllers/api/base_controller.rb index 1e36faef..9a1be465 100644 --- a/app/controllers/api/base_controller.rb +++ b/app/controllers/api/base_controller.rb @@ -105,7 +105,6 @@ class Api::BaseController < ApplicationController end def superapp? - return true return true if doorkeeper_token.nil? doorkeeper_token && doorkeeper_token.application.superapp? || false end