mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-10 02:08:21 +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));
|
this.fetchComments().then(data => (this.comments = data));
|
||||||
},
|
},
|
||||||
async fetchSubscribedStatus() {
|
async fetchSubscribedStatus() {
|
||||||
if (!this.channelId) return;
|
if (!this.channelId || !this.authenticated) return;
|
||||||
|
|
||||||
this.fetchJson(
|
this.fetchJson(
|
||||||
this.apiUrl() + "/subscribed",
|
this.apiUrl() + "/subscribed",
|
||||||
|
Loading…
Reference in New Issue
Block a user