Commit ac16a6ca authored by Zohten's avatar Zohten

minor change

parent 996a3142
......@@ -31,7 +31,8 @@ class UserController extends Controller
break;
case 'PUT':
if ($uriParams) {
return $this->updateUser(array_merge($this->request->getData(), ['id'=>$uriParams[0]]));
$body = $this->request->getData();
return $this->updateUser(array_merge($body, ['id'=>$uriParams[0]]));
}
break;
}
......
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