BUG 變數用錯 20250604
This commit is contained in:
parent
60a61e6a7b
commit
8206463b6c
@ -82,7 +82,7 @@ class RoomDetailModal extends Component
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$api = new ApiClient($branch->external_ip , $token );
|
$api = new ApiClient($this->branch->external_ip , $token );
|
||||||
$response = $api->post('/api/room/sendSwitch', $data);
|
$response = $api->post('/api/room/sendSwitch', $data);
|
||||||
if ($response->failed()) {
|
if ($response->failed()) {
|
||||||
$this->addError('api', 'API request failed: ' . $response->body());
|
$this->addError('api', 'API request failed: ' . $response->body());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user