]> git.ipfire.org Git - pbs.git/commitdiff
api: Rename the events streaming function
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 15 Jul 2025 11:10:19 +0000 (11:10 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 15 Jul 2025 11:10:19 +0000 (11:10 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/api/events.py

index c0f945ec2a7ebb1da2a2e9cf82376137c139423e..4bcd5c52b254f85b92455f9ea59017d451f72ba2 100644 (file)
@@ -30,7 +30,7 @@ router = fastapi.APIRouter(
 )
 
 @router.websocket("")
-async def stream(websocket: fastapi.WebSocket):
+async def events(websocket: fastapi.WebSocket):
        # Accept the connection
        await websocket.accept()