Skip to content

Commit c118aa1

Browse files
committedFeb 12, 2022
fix: Fixes that came out of update
1 parent 085f851 commit c118aa1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed
 

Diff for: ‎apps/api/src/shared/torrent/torrent.service.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import { Injectable, Logger, OnApplicationBootstrap } from '@nestjs/common'
22
import { InjectModel } from '@nestjs/mongoose'
3-
import pMap from 'p-map'
4-
import * as WebTorrent from 'webtorrent-hybrid'
53
import { Torrent, Instance as WebTorrentInstance } from 'webtorrent'
64
import { formatBytes, formatMsToRemaining } from '@pct-org/torrent/utils'
7-
import * as rimraf from 'rimraf'
85
import { Movie, MoviesService, MOVIE_TYPE } from '@pct-org/types/movie'
96
import { Episode, EpisodesService } from '@pct-org/types/episode'
107
import { Download, DownloadDocument } from '@pct-org/types/download'
118
import { DownloadInfo } from '@pct-org/types/shared'
9+
import pMap from 'p-map'
10+
import WebTorrent from 'webtorrent-hybrid'
11+
import rimraf from 'rimraf'
1212

1313
import type { Model } from 'mongoose'
1414

Diff for: ‎apps/api/src/subtitle/subtitle.controller.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
import { Controller, Get, Res, Req, Param, Logger, Inject, Query } from '@nestjs/common'
2+
import srtToVtt from 'srt-to-vtt'
3+
import subsrt from 'subsrt'
14
import * as path from 'path'
25
import * as fs from 'fs'
3-
import { Controller, Get, Res, Req, Param, Logger, Inject, Query } from '@nestjs/common'
4-
import * as srtToVtt from 'srt-to-vtt'
5-
import * as subsrt from 'subsrt'
66

77
import { ConfigService } from '../shared/config/config.service'
88

0 commit comments

Comments
 (0)
Please sign in to comment.