mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-05-31 02:58:28 +01:00
chore: Apply linting rules and add git hok (#611)
Co-authored-by: Fredrik Burmester <fredrik.burmester@gmail.com>
This commit is contained in:
@@ -14,7 +14,7 @@ class EventBus {
|
||||
off<T = void>(event: string, callback: Listener<T>): void {
|
||||
if (!this.listeners[event]) return;
|
||||
this.listeners[event] = this.listeners[event].filter(
|
||||
(fn) => fn !== callback
|
||||
(fn) => fn !== callback,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user