From 98ab5dc81048d47d08a231f17698128f959e59b2 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 25 Aug 2021 16:14:11 +0200 Subject: Remove useless async --- client/src/app/core/notification/peertube-socket.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/app/core') diff --git a/client/src/app/core/notification/peertube-socket.service.ts b/client/src/app/core/notification/peertube-socket.service.ts index eab1c63f2..50d5df68f 100644 --- a/client/src/app/core/notification/peertube-socket.service.ts +++ b/client/src/app/core/notification/peertube-socket.service.ts @@ -38,7 +38,7 @@ export class PeerTubeSocket { this.liveVideosSocket.emit('subscribe', { videoId }) } - async unsubscribeLiveVideos (videoId: number) { + unsubscribeLiveVideos (videoId: number) { if (!this.liveVideosSocket) return this.liveVideosSocket.emit('unsubscribe', { videoId }) -- cgit v1.2.3