diff --git a/src/app/services/http/room.service.ts b/src/app/services/http/room.service.ts index b2597c32a1c6af02a7bcda6c65d91d6b31303dfd..6c2eab3f518a898531cc1c37a10bb76c3cad014f 100644 --- a/src/app/services/http/room.service.ts +++ b/src/app/services/http/room.service.ts @@ -67,13 +67,6 @@ export class RoomService extends BaseHttpService { this.http.post(connectionUrl, { roomId: roomId, lastVisit: this.joinDate.getTime() }, httpOptions).subscribe(r => console.log(r)); } - getRoomById(id: string): Observable<Room> { - const connectionUrl = `${ this.apiUrl.base + this.apiUrl.rooms }/${ id }`; - return this.http.get<Room>(connectionUrl).pipe( - catchError(this.handleError<Room>(`getRoom id=${ id }`)) - ); - } - updateRoom(updatedRoom: Room): Observable<Room> { const connectionUrl = `${ this.apiUrl.base + this.apiUrl.rooms }/~${ updatedRoom.shortId }`; return this.http.put(connectionUrl, updatedRoom , httpOptions).pipe(