]> Untitled Git - lemmy.git/commitdiff
Add not throwing error on auth check for getPost and getCommunity. Fixes #475
authorDessalines <tyhou13@gmx.com>
Tue, 28 Jan 2020 13:47:37 +0000 (08:47 -0500)
committerDessalines <tyhou13@gmx.com>
Tue, 28 Jan 2020 13:47:37 +0000 (08:47 -0500)
ui/src/services/WebSocketService.ts

index 9f09e56ae9f6b302ce15fd1fcd7b154f3c165128..83e9ef1e49848ff1094d9bb16a8a5435df6ba429 100644 (file)
@@ -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));
   }