Add not throwing error on auth check for getPost and getCommunity. Fixes #475

This commit is contained in:
Dessalines 2020-01-28 08:47:37 -05:00
parent d639f85a30
commit 9431f93e5f

View file

@ -130,12 +130,12 @@ export class WebSocketService {
} }
public getPost(form: GetPostForm) { public getPost(form: GetPostForm) {
this.setAuth(form); this.setAuth(form, false);
this.subject.next(this.wsSendWrapper(UserOperation.GetPost, form)); this.subject.next(this.wsSendWrapper(UserOperation.GetPost, form));
} }
public getCommunity(form: GetCommunityForm) { public getCommunity(form: GetCommunityForm) {
this.setAuth(form); this.setAuth(form, false);
this.subject.next(this.wsSendWrapper(UserOperation.GetCommunity, form)); this.subject.next(this.wsSendWrapper(UserOperation.GetCommunity, form));
} }