Add separate trigger to trigger content sync
parent
e65b22f0d1
commit
7cb4419eb0
|
@ -3861,6 +3861,7 @@ class H5PCore {
|
||||||
$url = H5PHubEndpoints::createURL(H5PHubEndpoints::CONTENT);
|
$url = H5PHubEndpoints::createURL(H5PHubEndpoints::CONTENT);
|
||||||
$response = $this->h5pF->fetchExternalData("{$url}/{$hubId}", array(
|
$response = $this->h5pF->fetchExternalData("{$url}/{$hubId}", array(
|
||||||
'download_url' => $exportPath,
|
'download_url' => $exportPath,
|
||||||
|
'resync' => '1',
|
||||||
), true, null, true, $headers, array(), 'PUT');
|
), true, null, true, $headers, array(), 'PUT');
|
||||||
|
|
||||||
if (!empty($response) && $response['status'] === 200) {
|
if (!empty($response) && $response['status'] === 200) {
|
||||||
|
|
Loading…
Reference in New Issue