Browse Source
Rename method because the name "store" isn't cleary on RoomService
Signed-off-by: Vitor Mattos <vitor@php.rio>
pull/8492/head
Vitor Mattos
3 years ago
No known key found for this signature in database
GPG Key ID: B7AB4B76A7CA7318
2 changed files with
2 additions and
2 deletions
-
lib/Controller/RecordingController.php
-
lib/Service/RoomService.php
|
|
|
@ -100,7 +100,7 @@ class RecordingController extends AEnvironmentAwareController { |
|
|
|
|
|
|
|
try { |
|
|
|
$file = $this->request->getUploadedFile('file'); |
|
|
|
$this->roomService->store($this->getRoom(), $owner, $file); |
|
|
|
$this->roomService->storeRecording($this->getRoom(), $owner, $file); |
|
|
|
} catch (InvalidArgumentException $e) { |
|
|
|
return new DataResponse(['error' => $e->getMessage()], Http::STATUS_BAD_REQUEST); |
|
|
|
} |
|
|
|
|
|
|
|
@ -416,7 +416,7 @@ class RoomService { |
|
|
|
$this->dispatcher->dispatch(Room::EVENT_AFTER_SET_CALL_RECORDING, $event); |
|
|
|
} |
|
|
|
|
|
|
|
public function store(Room $room, string $owner, array $file): void { |
|
|
|
public function storeRecording(Room $room, string $owner, array $file): void { |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
|