format
This commit is contained in:
parent
2cac36be17
commit
37d2082082
10 changed files with 2 additions and 2 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -256,7 +256,7 @@
|
|||
},
|
||||
createMyExtension(wallet, data) {
|
||||
LNbits.api
|
||||
.request('POST', '/myextension/api/v1/temps', wallet.inkey, data)
|
||||
.request('POST', '/myextension/api/v1/temps', wallet.adminkey, data)
|
||||
.then(response => {
|
||||
this.temps.push(mapMyExtension(response.data))
|
||||
this.closeFormDialog()
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ async def api_myextension_update(
|
|||
async def api_myextension_create(
|
||||
req: Request,
|
||||
data: CreateMyExtensionData,
|
||||
wallet: WalletTypeInfo = Depends(get_key_type),
|
||||
wallet: WalletTypeInfo = Depends(require_admin_key),
|
||||
):
|
||||
myextension = await create_myextension(
|
||||
wallet_id=wallet.wallet.id, data=data, req=req
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue