feat: add user_id on response #483
This commit is contained in:
parent
beb6bbe7f8
commit
e2706446e6
|
@ -583,6 +583,7 @@ class REST_Reports_Controller extends REST_Controller {
|
|||
$action = $result->action;
|
||||
if(!isset($response[$user])) {
|
||||
$response[$user] = [
|
||||
'user_id' => $user,
|
||||
'total' => 0,
|
||||
'by_action' => []
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue