fedimbed: oop
This commit is contained in:
		
							parent
							
								
									9f5ebe42fa
								
							
						
					
					
						commit
						72459f8dc4
					
				
					 1 changed files with 19 additions and 18 deletions
				
			
		| 
						 | 
				
			
			@ -946,6 +946,7 @@ async function fetchPost(url, platform, forceMastoAPI = false) {
 | 
			
		|||
async function getStatsAS(post) {
 | 
			
		||||
  // agony
 | 
			
		||||
  let replyCount = 0;
 | 
			
		||||
  if (post?.replies?.id)
 | 
			
		||||
    try {
 | 
			
		||||
      const selfReplies = await signedFetch(post.replies.id + "?page=true", {
 | 
			
		||||
        headers: {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue