mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-20 02:28:10 +01:00
changed see endpoint key back
This commit is contained in:
parent
196cdf7737
commit
1b46b61da9
@ -320,7 +320,7 @@ async def subscribe(request: Request, wallet: Wallet):
|
||||
|
||||
@core_app.get("/api/v1/payments/sse")
|
||||
async def api_payments_sse(
|
||||
request: Request, wallet: WalletTypeInfo = Depends(WalletAdminKeyChecker())
|
||||
request: Request, wallet: WalletTypeInfo = Depends(get_key_type)
|
||||
):
|
||||
return EventSourceResponse(
|
||||
subscribe(request, wallet), ping=20, media_type="text/event-stream"
|
||||
|
Loading…
Reference in New Issue
Block a user