mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
fix(lint): clear remaining biome errors (unused code, optional chains, non-null assertions, effect deps)
This commit is contained in:
@@ -387,7 +387,7 @@ export async function registerProgressRoutes(app: FastifyInstance): Promise<void
|
||||
if (!sseListeners.has(jobId)) {
|
||||
sseListeners.set(jobId, new Set());
|
||||
}
|
||||
sseListeners.get(jobId)!.add(callback);
|
||||
sseListeners.get(jobId)?.add(callback);
|
||||
|
||||
// Clean up on client disconnect
|
||||
request.raw.on("close", () => {
|
||||
|
||||
Reference in New Issue
Block a user