From 92a8b011c0255ba0c59009d4e24c19e9ecf4c102 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Mau=C3=9F?= <lukas.mauss@mni.thm.de> Date: Thu, 5 Apr 2018 23:16:54 +0200 Subject: [PATCH] Remove unused code --- src/app/services/http/room.service.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/app/services/http/room.service.ts b/src/app/services/http/room.service.ts index b2597c32a..6c2eab3f5 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( -- GitLab