Skip to content
Snippets Groups Projects
Commit 8b9c5f39 authored by Ronnie Friman's avatar Ronnie Friman
Browse files

import MulterModule for fileupload

parent dff9d422
No related branches found
No related tags found
3 merge requests!59Development to master,!58Development to testing,!56Cluster update to Development
This commit is part of merge request !58. Comments created here will be created in the context of that merge request.
...@@ -16,6 +16,7 @@ import { NotificationModule } from '../notifications/notifications.module'; ...@@ -16,6 +16,7 @@ import { NotificationModule } from '../notifications/notifications.module';
import { TickService } from './tick.service'; import { TickService } from './tick.service';
import { ScoreService } from '../score/score.service'; import { ScoreService } from '../score/score.service';
import { ScoreEntity } from '../score/score.entity'; import { ScoreEntity } from '../score/score.entity';
import { MulterModule } from '@nestjs/platform-express';
///////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////
/// Game /// /// Game ///
...@@ -34,6 +35,9 @@ import { ScoreEntity } from '../score/score.entity'; ...@@ -34,6 +35,9 @@ import { ScoreEntity } from '../score/score.entity';
ScoreEntity, ScoreEntity,
]), ]),
NotificationModule, NotificationModule,
MulterModule.register({
dest: './images',
}),
], ],
controllers: [GameController], controllers: [GameController],
providers: [GameService, TickService, ScoreService], providers: [GameService, TickService, ScoreService],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment