Skip to content

Commit 128b92c

Browse files
authored
fix(gateway/auth): broadcast failure (#2413)
1 parent f70faa2 commit 128b92c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/core/src/processors/gateway/admin/events.gateway.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { SubscribeMessage, WebSocketGateway } from '@nestjs/websockets'
1212

1313
import { LOG_DIR } from '~/constants/path.constant'
1414
import { JWTService } from '~/processors/helper/helper.jwt.service'
15-
import { CacheService } from '~/processors/redis/cache.service'
15+
import { RedisService } from '~/processors/redis/redis.service'
1616
import { SubPubBridgeService } from '~/processors/redis/subpub.service'
1717
import { getTodayLogFilePath } from '~/utils/path.util'
1818

@@ -28,12 +28,12 @@ export class AdminEventsGateway
2828
{
2929
constructor(
3030
protected readonly jwtService: JWTService,
31-
private readonly cacheService: CacheService,
31+
private readonly redisService: RedisService,
3232
private readonly subpub: SubPubBridgeService,
3333
@Inject(forwardRef(() => AuthService))
3434
protected readonly authService: AuthService,
3535
) {
36-
super(jwtService, authService, cacheService)
36+
super(jwtService, authService, redisService)
3737
}
3838

3939
subscribeSocketToHandlerMap = new WeakMap<Socket, Function>()

0 commit comments

Comments
 (0)