mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
fix: 🚨 Fix Deepsource warnings
This commit is contained in:
parent
2fffbcbede
commit
870b6dbe85
13 changed files with 58 additions and 59 deletions
|
|
@ -74,7 +74,10 @@ export class StreamingTimeline {
|
|||
return `timeline:${this.timeline}`;
|
||||
}
|
||||
|
||||
private messageHandler = (channel: string, message: string): void => {
|
||||
private readonly messageHandler = (
|
||||
channel: string,
|
||||
message: string,
|
||||
): void => {
|
||||
if (channel === this.channelName) {
|
||||
try {
|
||||
const parsed = JSON.parse(message);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue