]> Untitled Git - lemmy-ui.git/blobdiff - src/shared/services/WebSocketService.ts
Somewhat working webpack. Sponsors and communities pages done.
[lemmy-ui.git] / src / shared / services / WebSocketService.ts
index 3af3829b59360e734bd92194cf154306d240095c..646f9de90f125ded6d2855510191ab46549a1ff6 100644 (file)
@@ -393,7 +393,7 @@ export class WebSocketService {
     this.ws.send(this.client.saveSiteConfig(form));
   }
 
-  private setAuth(obj: any, throwErr: boolean = true) {
+  public setAuth(obj: any, throwErr: boolean = true) {
     obj.auth = UserService.Instance.auth;
     if (obj.auth == null && throwErr) {
       toast(i18n.t('not_logged_in'), 'danger');