frontend: Rename roomName to roomId in recording start process for consistency
This commit is contained in:
parent
2d4f005d3b
commit
cdf652acb8
@ -129,8 +129,8 @@ export class VideoRoomComponent implements OnInit, OnDestroy {
|
||||
|
||||
async onRecordingStartRequested(event: RecordingStartRequestedEvent) {
|
||||
try {
|
||||
const { roomName } = event;
|
||||
await this.httpService.startRecording(roomName);
|
||||
const { roomName: roomId } = event;
|
||||
await this.httpService.startRecording(roomId);
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
}
|
||||
|
||||
@ -101,8 +101,8 @@ export class HttpService {
|
||||
return this.getRequest(path);
|
||||
}
|
||||
|
||||
startRecording(roomName: string): Promise<RecordingInfo> {
|
||||
return this.postRequest(`${this.pathPrefix}/${this.apiVersion}/recordings`, { roomName });
|
||||
startRecording(roomId: string): Promise<RecordingInfo> {
|
||||
return this.postRequest(`${this.pathPrefix}/${this.apiVersion}/recordings`, { roomId });
|
||||
}
|
||||
|
||||
stopRecording(recordingId: string): Promise<RecordingInfo> {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user