refs #658. Update obBoot sync parametrs
parent
88b3d8aaa9
commit
ef3bda1322
|
@ -30,7 +30,6 @@ class SyncAction extends AbstractOgBootController
|
||||||
$content = $this->createRequest($httpClient, 'GET', $this->ogBootApiUrl . '/ogboot/v1/oglives');
|
$content = $this->createRequest($httpClient, 'GET', $this->ogBootApiUrl . '/ogboot/v1/oglives');
|
||||||
|
|
||||||
foreach ($content['message'] as $ogLive) {
|
foreach ($content['message'] as $ogLive) {
|
||||||
var_dump($ogLive);
|
|
||||||
$ogLiveEntity = $this->entityManager->getRepository(OgLive::class)->findOneBy(['checksum' => $ogLive['id']]);
|
$ogLiveEntity = $this->entityManager->getRepository(OgLive::class)->findOneBy(['checksum' => $ogLive['id']]);
|
||||||
if ($ogLiveEntity) {
|
if ($ogLiveEntity) {
|
||||||
$this->extracted($ogLiveEntity, $ogLive);
|
$this->extracted($ogLiveEntity, $ogLive);
|
||||||
|
|
Loading…
Reference in New Issue