mirror of
https://github.com/unraid/api.git
synced 2026-02-22 08:18:39 -06:00
feat: cleanup unused variables
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
import { apiLogger } from '@app/core/log';
|
||||
import { setupPermissions } from '@app/core/permissions';
|
||||
import { AuthModule } from '@app/unraid-api/auth/auth.module';
|
||||
import { GraphModule } from '@app/unraid-api/graph/graph.module';
|
||||
import { RestModule } from '@app/unraid-api/rest/rest.module';
|
||||
import { Module } from '@nestjs/common';
|
||||
import { ACGuard, AccessControlModule } from 'nest-access-control';
|
||||
import { LoggerModule } from 'nestjs-pino';
|
||||
import { CronModule } from '@app/unraid-api/cron/cron.module';
|
||||
|
||||
|
||||
@@ -13,7 +13,6 @@ import { apiLogger } from '@app/core/log';
|
||||
import fastifyCookie from '@fastify/cookie';
|
||||
import { configureFastifyCors } from './app/cors';
|
||||
import { CookieService } from './auth/cookie.service';
|
||||
import { GraphqlAuthGuard } from '@app/unraid-api/auth/auth.guard';
|
||||
|
||||
export async function bootstrapNestServer(): Promise<NestFastifyApplication> {
|
||||
const server: FastifyInstance<Server, IncomingMessage, ServerResponse> = Fastify({
|
||||
|
||||
Reference in New Issue
Block a user