소스 검색

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