Commit 9911b38f authored by Zohten's avatar Zohten

bugfix

parent a92a10e1
...@@ -119,7 +119,7 @@ class UserController extends Controller ...@@ -119,7 +119,7 @@ class UserController extends Controller
protected function updateUser($array) protected function updateUser($array)
{ {
// Auth with token phase // Auth with token phase
$authResponse = $this->authUser($id); $authResponse = $this->authUser($array['id']);
if($authResponse->getCode()!=200){ if($authResponse->getCode()!=200){
return $authResponse; return $authResponse;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment