Moved to folder backend
This commit is contained in:
parent
a7d9c0bf51
commit
5df0a1f8c2
|
@ -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);
|
Loading…
Reference in New Issue