mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-06 20:16:57 +00:00
lint
This commit is contained in:
parent
ac49a3e992
commit
5e90679916
2 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ class ChatRoomChannel extends Channel {
|
|||
}
|
||||
|
||||
@bindThis
|
||||
private async onEvent(data: GlobalEvents['chat']['payload']) {
|
||||
private async onEvent(data: GlobalEvents['chatRoom']['payload']) {
|
||||
this.send(data.type, data.body);
|
||||
}
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ class ChatUserChannel extends Channel {
|
|||
}
|
||||
|
||||
@bindThis
|
||||
private async onEvent(data: GlobalEvents['chat']['payload']) {
|
||||
private async onEvent(data: GlobalEvents['chatUser']['payload']) {
|
||||
this.send(data.type, data.body);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue