mirror of
https://github.com/ragestudio/linebridge.git
synced 2025-06-09 02:24:17 +00:00
fix typo
This commit is contained in:
parent
4dd94c388a
commit
2fb2046ecc
@ -4,7 +4,7 @@ class Client {
|
|||||||
this.id = socket.context.id
|
this.id = socket.context.id
|
||||||
|
|
||||||
this.userId = socket.context.user?._id || null
|
this.userId = socket.context.user?._id || null
|
||||||
this.autheticated = !!socket.context.session
|
this.authenticated = !!socket.context.session
|
||||||
}
|
}
|
||||||
|
|
||||||
emit(event, data) {
|
emit(event, data) {
|
||||||
|
@ -106,7 +106,7 @@ class RTEngineNG {
|
|||||||
|
|
||||||
await client.emit("connected", {
|
await client.emit("connected", {
|
||||||
id: client.id,
|
id: client.id,
|
||||||
autheticated: client.autheticated,
|
authenticated: client.authenticated,
|
||||||
})
|
})
|
||||||
|
|
||||||
this.clients.set(socket.context.id, client)
|
this.clients.set(socket.context.id, client)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user