diff --git a/app/controllers/api/base_controller.rb b/app/controllers/api/base_controller.rb index 767f22d7..e795a948 100644 --- a/app/controllers/api/base_controller.rb +++ b/app/controllers/api/base_controller.rb @@ -103,7 +103,7 @@ class Api::BaseController < ApplicationController end def superapp? - return false if doorkeeper_token.nil? + return true if doorkeeper_token.nil? doorkeeper_token && doorkeeper_token.application.superapp? || false end