diff --git a/app/Libraries/Utils.php b/app/Libraries/Utils.php index ff935a32b906..c4d4f7ea10d9 100644 --- a/app/Libraries/Utils.php +++ b/app/Libraries/Utils.php @@ -394,6 +394,7 @@ class Utils 'ip' => Request::getClientIp(), 'count' => Session::get('error_count', 0), 'is_console' => App::runningInConsole() ? 'yes' : 'no', + 'is_api' => session('token_id') ? 'yes' : 'no', ]; if ($info) {