Fix response to get locations. #632
This commit is contained in:
parent
3f7075f26d
commit
e4e412fd14
1 changed files with 1 additions and 1 deletions
|
|
@ -3678,7 +3678,7 @@ class APIController extends Controller implements LoggedController
|
||||||
$cust_meta = $em->getRepository(CustomerMetadata::class)->findOneBy(['customer' => $cust]);
|
$cust_meta = $em->getRepository(CustomerMetadata::class)->findOneBy(['customer' => $cust]);
|
||||||
if ($cust_meta != null)
|
if ($cust_meta != null)
|
||||||
{
|
{
|
||||||
$locations[] = $cust_meta->getAllMetaInfo();
|
$locations = $cust_meta->getAllMetaInfo();
|
||||||
}
|
}
|
||||||
|
|
||||||
$data = [
|
$data = [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue