mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix(api): eslint imports order
This commit is contained in:
@@ -20,11 +20,12 @@ import {
|
||||
rootMongooseTestModule,
|
||||
} from '@/utils/test/test';
|
||||
|
||||
import { BotStatsController } from './bot-stats.controller';
|
||||
import { BotStatsRepository } from '../repositories/bot-stats.repository';
|
||||
import { BotStatsModel, BotStatsType } from '../schemas/bot-stats.schema';
|
||||
import { BotStatsService } from '../services/bot-stats.service';
|
||||
|
||||
import { BotStatsController } from './bot-stats.controller';
|
||||
|
||||
describe('BotStatsController', () => {
|
||||
let botStatsController: BotStatsController;
|
||||
|
||||
|
||||
@@ -8,12 +8,13 @@
|
||||
|
||||
import { Controller, Get, Query } from '@nestjs/common';
|
||||
|
||||
import { ToLinesType } from './../schemas/bot-stats.schema';
|
||||
import { BotStatsFindDatumDto, BotStatsFindDto } from '../dto/bot-stats.dto';
|
||||
import { BotStats, BotStatsType } from '../schemas/bot-stats.schema';
|
||||
import { BotStatsService } from '../services/bot-stats.service';
|
||||
import { aMonthAgo } from '../utilities';
|
||||
|
||||
import { ToLinesType } from './../schemas/bot-stats.schema';
|
||||
|
||||
@Controller('botstats')
|
||||
export class BotStatsController {
|
||||
constructor(private readonly botStatsService: BotStatsService) {}
|
||||
|
||||
Reference in New Issue
Block a user