Skip to content

Commit

Permalink
fix: rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
kyeahxx19 committed Nov 15, 2023
1 parent a741177 commit 54de03c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chat/chat.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class ChatService {
) {}

async validateSocket(client: Socket) {
const authHeader = client.handshake.auth['authorization'];
const authHeader = client.handshake.headers['authorization'];

if (!authHeader || authHeader == undefined) {
client.disconnect(true);
Expand Down

0 comments on commit 54de03c

Please sign in to comment.