remove testdata in getFunction

This commit is contained in:
ma0068
2025-03-13 09:34:06 +01:00
parent 7b4f0f9dff
commit 3b8b8d7882
@@ -54,11 +54,6 @@ class Messages extends FHCAPI_Controller
$data = $this->getDataOrTerminateWithError($result);
//return null if count == 0
if($data['count'] == 0){
$this->terminateWithSuccess([]);
}
$this->addMeta('count', $data['count']);
$this->terminateWithSuccess($data['data']);