require admin
This commit is contained in:
parent
b2a0faf9de
commit
694124b5d6
1 changed files with 1 additions and 1 deletions
|
|
@ -284,7 +284,7 @@ class CreateLNURLData(BaseModel):
|
|||
|
||||
@core_app.post("/api/v1/payments/lnurl")
|
||||
async def api_payments_pay_lnurl(
|
||||
data: CreateLNURLData, wallet: WalletTypeInfo = Depends(get_key_type)
|
||||
data: CreateLNURLData, wallet: WalletTypeInfo = Depends(require_admin_key)
|
||||
):
|
||||
domain = urlparse(data.callback).netloc
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue