mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-26 04:41:26 +00:00
Fixing mark all as read. Fixes #72
This commit is contained in:
parent
3e87e61c0c
commit
e86b870bd5
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue