Skip to content

Commit

Permalink
removed useless
Browse files Browse the repository at this point in the history
  • Loading branch information
Glydric committed Dec 5, 2023
1 parent 0425ce0 commit 47cf35a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 21 deletions.
7 changes: 3 additions & 4 deletions Backend/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
* Copyright (c) 2023. Leonardo Migliorelli <Glydric>
*/

import { JwtModule } from '@nestjs/jwt';
import { Module } from '@nestjs/common';
import { MachineLearningController } from './app/machineLearning/machineLearning.controller';
import { FrontendController } from './app/frontend/frontend.controller';
import { DatabaseService } from './database/database.service';
import { TelegramService } from './telegram/telegram.service';
import { JwtModule } from '@nestjs/jwt';
import { LoginController } from './app/login.controller';
import { CameraStreamModule } from './cameraStream/cameraStream.module';
import { CameraStreamGateway } from './cameraStream/cameraStream.gateway';

@Module({
imports: [
Expand All @@ -19,10 +19,9 @@ import { CameraStreamModule } from './cameraStream/cameraStream.module';
// FIXME Error: Payload as string is not allowed with the following sign options: expiresIn
// signOptions: { expiresIn: "60s" },
}),
CameraStreamModule,
],
controllers: [MachineLearningController, FrontendController, LoginController],
providers: [DatabaseService, TelegramService],
providers: [DatabaseService, TelegramService, CameraStreamGateway],
exports: [DatabaseService, TelegramService],
})
export class AppModule {}
2 changes: 1 addition & 1 deletion Backend/src/cameraStream/cameraStream.gateway.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Test, TestingModule } from '@nestjs/testing';
import { CameraStreamGateway } from './cameraStreamGateway';
import { CameraStreamGateway } from './cameraStream.gateway';

describe('WebrtcGateway', () => {
let gateway: CameraStreamGateway;
Expand Down
16 changes: 0 additions & 16 deletions Backend/src/cameraStream/cameraStream.module.ts

This file was deleted.

0 comments on commit 47cf35a

Please sign in to comment.