upd: remove more traces of sensitiveMediaDetection
kept the api endpoint props just to stay compatible with clients that expect them to be there. they are unused and won't get saved
This commit is contained in:
parent
2eda00d9b9
commit
36c136cfd2
4 changed files with 2 additions and 115 deletions
|
|
@ -50,13 +50,7 @@ export class FileInfoService {
|
|||
* Get file information
|
||||
*/
|
||||
@bindThis
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
public async getFileInfo(path: string, _opts: {
|
||||
skipSensitiveDetection: boolean;
|
||||
sensitiveThreshold?: number;
|
||||
sensitiveThresholdForPorn?: number;
|
||||
enableSensitiveMediaDetectionForVideos?: boolean;
|
||||
}): Promise<FileInfo> {
|
||||
public async getFileInfo(path: string): Promise<FileInfo> {
|
||||
const warnings = [] as string[];
|
||||
|
||||
const size = await this.getFileSize(path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue