From 9431f93e5f3e30da3a0e1aab99b667a8e5873409 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 28 Jan 2020 08:47:37 -0500 Subject: [PATCH] Add not throwing error on auth check for getPost and getCommunity. Fixes #475 --- ui/src/services/WebSocketService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/services/WebSocketService.ts b/ui/src/services/WebSocketService.ts index 9f09e56..83e9ef1 100644 --- a/ui/src/services/WebSocketService.ts +++ b/ui/src/services/WebSocketService.ts @@ -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)); }