mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Fix lint
This commit is contained in:
@@ -42,12 +42,14 @@ class PeerTubeSocket {
|
||||
socket.on('subscribe', ({ videoId }) => {
|
||||
if (!isIdValid(videoId)) return
|
||||
|
||||
/* eslint-disable @typescript-eslint/no-floating-promises */
|
||||
socket.join(videoId)
|
||||
})
|
||||
|
||||
socket.on('unsubscribe', ({ videoId }) => {
|
||||
if (!isIdValid(videoId)) return
|
||||
|
||||
/* eslint-disable @typescript-eslint/no-floating-promises */
|
||||
socket.leave(videoId)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user