Prechádzať zdrojové kódy

pioneer: linter fix

Mokhtar Naamani 4 rokov pred
rodič
commit
e0aae4baef

+ 1 - 1
pioneer/packages/joy-media/src/transport.ts

@@ -167,7 +167,7 @@ export abstract class MediaTransport {
 
   async videosByChannelId (channelId: ChannelId, limit?: number, additionalFilter?: (x: VideoType) => boolean): Promise<VideoType[]> {
     let videos = (await this.allVideos())
-      .filter(x => channelId && channelId.eq(x.channelId) && (additionalFilter || (() => true))(x))
+      .filter((x) => channelId && channelId.eq(x.channelId) && (additionalFilter || (() => true))(x))
       .sort((a, b) => b.id - a.id);
 
     if (limit && limit > 0) {