mirror of https://github.com/sualko/cloud_bbb
parent
a8e37fb961
commit
4d9a7b8a79
|
@ -172,6 +172,7 @@ class API {
|
|||
private function recordToArray(Record $record) {
|
||||
return [
|
||||
'id' => $record->getRecordId(),
|
||||
'meetingId' => $record->getMeetingId(),
|
||||
'name' => $record->getName(),
|
||||
'published' => $record->isPublished(),
|
||||
'state' => $record->getState(),
|
||||
|
|
|
@ -65,7 +65,7 @@ class ServerController extends Controller {
|
|||
public function deleteRecord(string $recordId): DataResponse {
|
||||
$record = $this->server->getRecording($recordId);
|
||||
|
||||
$room = $this->service->findByUid($record['metas']['meetingId']);
|
||||
$room = $this->service->findByUid($record['meetingId']);
|
||||
|
||||
if ($room === null) {
|
||||
return new DataResponse(false, Http::STATUS_NOT_FOUND);
|
||||
|
|
Loading…
Reference in New Issue