mirror of
				https://github.com/TeamPiped/Piped.git
				synced 2024-08-14 23:57:27 +00:00 
			
		
		
		
	Add authenticated check for fetching subscribed status.
This commit is contained in:
		
							parent
							
								
									fca4d88202
								
							
						
					
					
						commit
						a3c07a905b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue