feat: server lint import & order (#750)
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
import { Test, TestingModule } from '@nestjs/testing';
|
||||
|
||||
import { FileService } from 'src/core/file/services/file.service';
|
||||
|
||||
import { FileController } from './file.controller';
|
||||
import { FileService } from '../services/file.service';
|
||||
|
||||
describe('FileController', () => {
|
||||
let controller: FileController;
|
||||
|
||||
@ -1,7 +1,9 @@
|
||||
import { Controller, Get, Param, Res } from '@nestjs/common';
|
||||
|
||||
import { Response } from 'express';
|
||||
import { checkFilePath, checkFilename } from '../file.utils';
|
||||
import { FileService } from '../services/file.service';
|
||||
|
||||
import { checkFilePath, checkFilename } from 'src/core/file/file.utils';
|
||||
import { FileService } from 'src/core/file/services/file.service';
|
||||
|
||||
// TODO: Add cookie authentication
|
||||
@Controller('files')
|
||||
|
||||
Reference in New Issue
Block a user