Change back auth

This commit is contained in:
Michael 2021-11-17 21:50:39 +00:00
parent 747e8daef6
commit 9e30bd8ff7

View File

@ -82,7 +82,7 @@ $called_api = [];
*/ */
function api_user() function api_user()
{ {
$user = BaseApi::getCurrentUserID(); $user = OAuth::getCurrentUserID();
if (!empty($user)) { if (!empty($user)) {
return $user; return $user;
} }