mirror of
https://github.com/paricafe/misskey.git
synced 2025-04-21 13:13:07 -05:00
lint
This commit is contained in:
parent
ac49a3e992
commit
5e90679916
2 changed files with 2 additions and 2 deletions
packages/backend/src/server/api/stream/channels
|
@ -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
Add a link
Reference in a new issue