add commnets

This commit is contained in:
Peter Maquiran
2022-01-29 20:21:51 +01:00
parent acacb58d0d
commit b06e155d20
2 changed files with 8 additions and 7 deletions
+2 -1
View File
@@ -33,9 +33,10 @@ export class ChatService {
)
{
this.setHeader()
window['setChatHeader'] = this.setHeader
}
setHeader() {
setHeader = () => {
this.loggedUserChat = this.authService.ValidatedUserChat;
this.headers = new HttpHeaders();
this.headers = this.headers.set('X-User-Id', this.loggedUserChat['data'].userId);