mirror of
https://github.com/fusion44/blitz_api.git
synced 2026-08-13 11:52:45 +02:00
remove some unused imports, send correct message on warmup
This commit is contained in:
parent
36e2d525b7
commit
2053f0ea3b
2 changed files with 3 additions and 3 deletions
|
|
@ -22,7 +22,6 @@ from app.api.warmup import (
|
|||
get_full_client_warmup_data,
|
||||
get_full_client_warmup_data_bitcoinonly,
|
||||
)
|
||||
from app.apps import router
|
||||
from app.apps.router import router as app_router
|
||||
from app.auth.auth_bearer import JWTBearer
|
||||
from app.auth.auth_handler import (
|
||||
|
|
@ -286,7 +285,8 @@ async def warmup_new_connections():
|
|||
_send_sse_event(id, SSE.LN_INFO_LITE, res[3].dict()),
|
||||
_send_sse_event(id, SSE.LN_FEE_REVENUE, res[4]),
|
||||
_send_sse_event(id, SSE.WALLET_BALANCE, res[5].dict()),
|
||||
_send_sse_event(id, SSE.HARDWARE_INFO, res[6]),
|
||||
_send_sse_event(id, SSE.INSTALLED_APP_STATUS, res[6]),
|
||||
_send_sse_event(id, SSE.HARDWARE_INFO, res[7]),
|
||||
]
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
from enum import Enum
|
||||
from typing import List, Optional
|
||||
from typing import Optional
|
||||
|
||||
from decouple import config
|
||||
from fastapi import Query
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue