Skip to content
Snippets Groups Projects
Verified Commit 5e7ef5ac authored by Lukas Maximilian Kimpel's avatar Lukas Maximilian Kimpel
Browse files

Exclude room service changes

parent 7bc7349b
1 merge request!74API BASE BRANCH
Pipeline #13695 passed with stage
in 49 seconds
......@@ -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(_ => ''),
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment