diff --git a/src/app/room.service.ts b/src/app/room.service.ts index c5fe100fe700c430c2cf4698d38464d2fe5d2ff0..1c9f0c68b1f4138879acb305a0c3afd41b8014bd 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(_ => ''),