* Adjust response data for api.

This commit is contained in:
caoyanyi
2024-03-01 16:55:47 +08:00
parent 1b4bbd0bbb
commit f3541d5211
+1 -1
View File
@@ -25,6 +25,6 @@ class ciresultsEntry extends entry
$data = $this->getData();
if(isset($data->result) and $data->result == 'fail') return $this->sendError(400, $data->message);
return $this->send(201, array());
return $this->sendSuccess(200, 'success');
}
}