mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-12-23 05:53:36 +00:00
Add authenticated check for fetching subscribed status.
This commit is contained in:
parent
fca4d88202
commit
a3c07a905b
@ -216,7 +216,7 @@ export default {
|
||||
this.fetchComments().then(data => (this.comments = data));
|
||||
},
|
||||
async fetchSubscribedStatus() {
|
||||
if (!this.channelId) return;
|
||||
if (!this.channelId || !this.authenticated) return;
|
||||
|
||||
this.fetchJson(
|
||||
this.apiUrl() + "/subscribed",
|
||||
|
Loading…
Reference in New Issue
Block a user