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

Revert changes on user

parent a75a4dd5
1 merge request!74API BASE BRANCH
Pipeline #13686 passed with stage
in 34 seconds
...@@ -46,9 +46,9 @@ export class CreateCommentComponent implements OnInit { ...@@ -46,9 +46,9 @@ export class CreateCommentComponent implements OnInit {
return; return;
} }
this.commentService.addComment({ this.commentService.addComment({
id: this.room.id + this.user.userId, id: this.room.id + this.user.id,
roomId: this.room.id, roomId: this.room.id,
userId: this.user.userId, userId: this.user.id,
subject: subject, subject: subject,
body: body, body: body,
creationTimestamp: new Date(Date.now()) creationTimestamp: new Date(Date.now())
......
...@@ -32,7 +32,7 @@ export class RoomService extends ErrorHandlingService { ...@@ -32,7 +32,7 @@ export class RoomService extends ErrorHandlingService {
return this.http.post<Room[]>(getRoomsUrl, { return this.http.post<Room[]>(getRoomsUrl, {
properties: {}, properties: {},
externalFilters: { externalFilters: {
ownerId: this.authenticationService.getUser().userId ownerId: this.authenticationService.getUser().id
} }
}, httpOptions); }, httpOptions);
} }
......
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