From 5e7ef5ac0023f58e17a94851c82a7f77b556a18b Mon Sep 17 00:00:00 2001
From: Lukas Kimpel <lukas.kimpel@mni.thm.de>
Date: Tue, 20 Mar 2018 10:22:21 +0100
Subject: [PATCH] Exclude room service changes

---
 src/app/room.service.ts | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/src/app/room.service.ts b/src/app/room.service.ts
index c5fe100fe..1c9f0c68b 100644
--- a/src/app/room.service.ts
+++ b/src/app/room.service.ts
@@ -14,8 +14,7 @@ const httpOptions = {
 export class RoomService extends ErrorHandlingService {
   private roomsUrl = 'api/rooms';
 
-  constructor(private http: HttpClient,
-              private authenticationService: AuthenticationService) {
+  constructor(private http: HttpClient) {
     super();
   }
 
@@ -26,17 +25,6 @@ export class RoomService extends ErrorHandlingService {
     );
   }
 
-  getRoomsCreator(): Observable<Room[]> {
-    const getRoomsUrl = 'https://arsnova-staging.mni.thm.de/api/room/find';
-
-    return this.http.post<Room[]>(getRoomsUrl, {
-      properties: {},
-      externalFilters: {
-        ownerId: this.authenticationService.getUser().id
-      }
-    }, httpOptions);
-  }
-
   addRoom(room: Room): Observable<Room> {
     return this.http.post<Room>(this.roomsUrl, room, httpOptions).pipe(
       tap(_ => ''),
-- 
GitLab