浏览代码

pioneer: linter fix

Mokhtar Naamani 4 年之前
父节点
当前提交
e0aae4baef
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pioneer/packages/joy-media/src/transport.ts

+ 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) {