fix
This commit is contained in:
parent
b04ef26c5f
commit
2c04a3c757
1 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ import {
|
|||
OnGatewayDisconnect,
|
||||
OnGatewayInit,
|
||||
} from '@nestjs/websockets';
|
||||
import { Inject, forwardRef } from '@nestjs/common';
|
||||
import { Server, Socket } from 'socket.io';
|
||||
import { RoomsService } from '../rooms/rooms.service';
|
||||
import { RoomEventsService } from './room-events.service';
|
||||
|
|
@ -59,6 +60,7 @@ export class GameGateway implements OnGatewayConnection, OnGatewayDisconnect, On
|
|||
server: Server;
|
||||
|
||||
constructor(
|
||||
@Inject(forwardRef(() => RoomsService))
|
||||
private roomsService: RoomsService,
|
||||
private roomEventsService: RoomEventsService,
|
||||
private prisma: PrismaService,
|
||||
|
|
|
|||
Loading…
Reference in a new issue