]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/activitypub/video-rates.ts
Translated using Weblate (Japanese)
[github/Chocobozzz/PeerTube.git] / server / lib / activitypub / video-rates.ts
index 6bd46bb585654582bdfde6121f64f75139b27ef7..79ccfbc7edbba0e8b8c9d27496dec066e7659791 100644 (file)
@@ -58,8 +58,6 @@ async function createRates (ratesUrl: string[], video: MVideo, rate: VideoRateTy
     const field = rate === 'like' ? 'likes' : 'dislikes'
     await video.increment(field, { by: rateCounts })
   }
-
-  return
 }
 
 async function sendVideoRateChange (