Merge branch '555-log-warranty-data-sent-via-api' into 'master'
Fix the saving of warranty data. #555 Closes #555 See merge request jankstudio/resq!662
This commit is contained in:
commit
441553f90d
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