code quality fixes and cleanup
This commit is contained in:
parent
29b1b17967
commit
2bbbcd4d65
32 changed files with 4943 additions and 1368 deletions
|
|
@ -1,49 +1,33 @@
|
|||
|
||||
|
||||
nwc_permissions = {
|
||||
"pay":{
|
||||
"name":"Send payments",
|
||||
"methods":[
|
||||
"pay": {
|
||||
"name": "Send payments",
|
||||
"methods": [
|
||||
"multi_pay_invoice",
|
||||
"pay_invoice",
|
||||
"pay_keysend",
|
||||
"multi_pay_keysend",
|
||||
],
|
||||
"default": True
|
||||
"default": True,
|
||||
},
|
||||
"invoice":{
|
||||
"name":"Create invoices",
|
||||
"methods":[
|
||||
"make_invoice"
|
||||
],
|
||||
"default": True
|
||||
"invoice": {
|
||||
"name": "Create invoices",
|
||||
"methods": ["make_invoice"],
|
||||
"default": True,
|
||||
},
|
||||
"lookup":{
|
||||
"name":"Lookup status of invoice",
|
||||
"methods":[
|
||||
"lookup_invoice"
|
||||
],
|
||||
"default": True
|
||||
"lookup": {
|
||||
"name": "Lookup status of invoice",
|
||||
"methods": ["lookup_invoice"],
|
||||
"default": True,
|
||||
},
|
||||
"history": {
|
||||
"name": "Read transaction history",
|
||||
"methods": [
|
||||
"list_transactions"
|
||||
],
|
||||
"default": True
|
||||
"methods": ["list_transactions"],
|
||||
"default": True,
|
||||
},
|
||||
"balance": {
|
||||
"name": "Read wallet balance",
|
||||
"methods": [
|
||||
"get_balance"
|
||||
],
|
||||
"default": True
|
||||
"methods": ["get_balance"],
|
||||
"default": True,
|
||||
},
|
||||
"info": {
|
||||
"name": "Read account info",
|
||||
"methods": [
|
||||
"get_info"
|
||||
],
|
||||
"default": True
|
||||
}
|
||||
}
|
||||
"info": {"name": "Read account info", "methods": ["get_info"], "default": True},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue