mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-05 20:15:01 +00:00
Add not throwing error on auth check for getPost and getCommunity. Fixes #475
This commit is contained in:
parent
d639f85a30
commit
9431f93e5f
1 changed files with 2 additions and 2 deletions
4
ui/src/services/WebSocketService.ts
vendored
4
ui/src/services/WebSocketService.ts
vendored
|
@ -130,12 +130,12 @@ export class WebSocketService {
|
|||
}
|
||||
|
||||
public getPost(form: GetPostForm) {
|
||||
this.setAuth(form);
|
||||
this.setAuth(form, false);
|
||||
this.subject.next(this.wsSendWrapper(UserOperation.GetPost, form));
|
||||
}
|
||||
|
||||
public getCommunity(form: GetCommunityForm) {
|
||||
this.setAuth(form);
|
||||
this.setAuth(form, false);
|
||||
this.subject.next(this.wsSendWrapper(UserOperation.GetCommunity, form));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue