Fixing mark all as read. Fixes #72

This commit is contained in:
Dessalines 2020-11-18 10:42:41 -06:00
parent 3e87e61c0c
commit e86b870bd5
2 changed files with 2 additions and 2 deletions

View file

@ -49,7 +49,7 @@ export class UserService {
}
private setClaims(jwt: string) {
this.claims = jwt_decode(jwt) as Claims;
this.claims = jwt_decode(jwt);
this.jwtSub.next(jwt);
}

View file

@ -348,7 +348,7 @@ export class WebSocketService {
}
public markAllAsRead() {
let form: MarkAllAsReadForm;
let form: MarkAllAsReadForm = { auth: null };
this.setAuth(form);
this.ws.send(this.client.markAllAsRead(form));
}