mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Fix lint
This commit is contained in:
parent
8bf8e56e01
commit
1a578165f9
2 changed files with 3 additions and 1 deletions
|
@ -42,12 +42,14 @@ class PeerTubeSocket {
|
||||||
socket.on('subscribe', ({ videoId }) => {
|
socket.on('subscribe', ({ videoId }) => {
|
||||||
if (!isIdValid(videoId)) return
|
if (!isIdValid(videoId)) return
|
||||||
|
|
||||||
|
/* eslint-disable @typescript-eslint/no-floating-promises */
|
||||||
socket.join(videoId)
|
socket.join(videoId)
|
||||||
})
|
})
|
||||||
|
|
||||||
socket.on('unsubscribe', ({ videoId }) => {
|
socket.on('unsubscribe', ({ videoId }) => {
|
||||||
if (!isIdValid(videoId)) return
|
if (!isIdValid(videoId)) return
|
||||||
|
|
||||||
|
/* eslint-disable @typescript-eslint/no-floating-promises */
|
||||||
socket.leave(videoId)
|
socket.leave(videoId)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
|
@ -38,7 +38,7 @@ export interface User {
|
||||||
abusesAcceptedCount?: number
|
abusesAcceptedCount?: number
|
||||||
abusesCreatedCount?: number
|
abusesCreatedCount?: number
|
||||||
|
|
||||||
videoCommentsCount? : number
|
videoCommentsCount?: number
|
||||||
|
|
||||||
theme: string
|
theme: string
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue