diff --git a/api/index.php b/api/index.php index 878c818..16a5ba2 100644 --- a/api/index.php +++ b/api/index.php @@ -152,6 +152,12 @@ switch ($VARS['action']) { if (!empty($VARS['os'])) { $data['os'] = $VARS['os']; } + if (!empty($VARS['serial'])) { + $data['serial'] = $VARS['serial']; + } + if (!empty($VARS['manufacturer'])) { + $data['manufacturer'] = $VARS['manufacturer']; + } $database->insert('machines', $data); if ($database->error()[1] != 0) {