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
No related merge requests found
......@@ -46,9 +46,9 @@ export class CreateCommentComponent implements OnInit {
return;
}
this.commentService.addComment({
id: this.room.id + this.user.userId,
id: this.room.id + this.user.id,
roomId: this.room.id,
userId: this.user.userId,
userId: this.user.id,
subject: subject,
body: body,
creationTimestamp: new Date(Date.now())
......
......@@ -32,7 +32,7 @@ export class RoomService extends ErrorHandlingService {
return this.http.post<Room[]>(getRoomsUrl, {
properties: {},
externalFilters: {
ownerId: this.authenticationService.getUser().userId
ownerId: this.authenticationService.getUser().id
}
}, 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