Moved to folder backend

This commit is contained in:
Mal 2020-08-19 21:07:03 +02:00
parent a7d9c0bf51
commit 5df0a1f8c2
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ final class FingerprintGetController extends AbstractController
$fingerprint = new Fingerprint($this->fingerprintId);
$this->response = new ApiJsonResponse();
$this->response->setResult($fingerprint->jsonSerialize());
$this->response->setResult($fingerprint);
} catch (Throwable $e) {
$this->response = new ApiJsonResponse(ApiResponse::STATUS_NOT_FOUND);
$this->response->setParameter('success', false);