diff --git a/server/lib/peertube-socket.ts b/server/lib/peertube-socket.ts index c91407a59..0740e378e 100644 --- a/server/lib/peertube-socket.ts +++ b/server/lib/peertube-socket.ts @@ -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) }) }) diff --git a/shared/models/users/user.model.ts b/shared/models/users/user.model.ts index 2c24d81be..7a982c2e5 100644 --- a/shared/models/users/user.model.ts +++ b/shared/models/users/user.model.ts @@ -38,7 +38,7 @@ export interface User { abusesAcceptedCount?: number abusesCreatedCount?: number - videoCommentsCount? : number + videoCommentsCount?: number theme: string