Fix the saving of warranty data. #555
This commit is contained in:
parent
63bc3a1aa6
commit
23ca110a0b
1 changed files with 1 additions and 3 deletions
|
|
@ -22,11 +22,9 @@ class WarrantyAPILogger
|
|||
$err_aray = [];
|
||||
$err_array[] = $error;
|
||||
|
||||
$json_data = json_encode($log_data);
|
||||
|
||||
$log_entry->setApiUser($user_id)
|
||||
->setErrors($err_array)
|
||||
->setAllData($json_data)
|
||||
->setAllData($log_data)
|
||||
->setAction($action)
|
||||
->setSource($source);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue