fix(heartbeat): correct API route from mokosuiteclienthq to mokosuitehq #221

Merged
jmiller merged 1 commits from rc into main 2026-06-20 20:52:37 +00:00
4 changed files with 4 additions and 4 deletions
@@ -194,7 +194,7 @@ class DisplayController extends BaseController
}
}
$endpoint = $baseUrl . '/api/index.php/v1/mokosuiteclienthq/heartbeat';
$endpoint = $baseUrl . '/api/index.php/v1/mokosuitehq/heartbeat';
$ch = curl_init($endpoint);
curl_setopt_array($ch, [
@@ -2539,7 +2539,7 @@ class MokoSuiteClient extends CMSPlugin implements BootableExtensionInterface
$headers[] = 'X-MokoSuiteClient-Timestamp: ' . $timestamp;
}
$endpoint = $baseUrl . '/api/index.php/v1/mokosuiteclienthq/heartbeat';
$endpoint = $baseUrl . '/api/index.php/v1/mokosuitehq/heartbeat';
$json = json_encode($payload, JSON_UNESCAPED_SLASHES);
try
@@ -191,7 +191,7 @@ class Monitor extends CMSPlugin implements SubscriberInterface
$headers[] = 'X-MokoSuiteClient-Timestamp: ' . $timestamp;
}
$endpoint = $baseUrl . '/api/index.php/v1/mokosuiteclienthq/heartbeat';
$endpoint = $baseUrl . '/api/index.php/v1/mokosuitehq/heartbeat';
$json = json_encode($payload, JSON_UNESCAPED_SLASHES);
try
+1 -1
View File
@@ -949,7 +949,7 @@ class Pkg_MokosuiteclientInstallerScript
}
}
$endpoint = $baseUrl . '/api/index.php/v1/mokosuiteclienthq/heartbeat';
$endpoint = $baseUrl . '/api/index.php/v1/mokosuitehq/heartbeat';
$ch = curl_init($endpoint);
curl_setopt_array($ch, [