mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-19 12:01:12 +02:00
formatting fixes, prettier (#1108)
This commit is contained in:
@@ -797,7 +797,7 @@
|
|||||||
LNbits.utils.notifyApiError(error)
|
LNbits.utils.notifyApiError(error)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
clearFormDialoglnurldevice () {
|
clearFormDialoglnurldevice() {
|
||||||
this.formDialoglnurldevice.data = {
|
this.formDialoglnurldevice.data = {
|
||||||
lnurl_toggle: false,
|
lnurl_toggle: false,
|
||||||
show_message: false,
|
show_message: false,
|
||||||
|
@@ -57,13 +57,14 @@
|
|||||||
/usermanager/api/v1/users/<user_id></code
|
/usermanager/api/v1/users/<user_id></code
|
||||||
>
|
>
|
||||||
<h5 class="text-caption q-mt-sm q-mb-none">Body (application/json)</h5>
|
<h5 class="text-caption q-mt-sm q-mb-none">Body (application/json)</h5>
|
||||||
|
|
||||||
<h5 class="text-caption q-mt-sm q-mb-none">
|
<h5 class="text-caption q-mt-sm q-mb-none">
|
||||||
Returns 200 OK (application/json)
|
Returns 200 OK (application/json)
|
||||||
</h5>
|
</h5>
|
||||||
<code
|
<code
|
||||||
>{"id": <string>, "name": <string>, "admin":
|
>{"id": <string>, "name": <string>, "admin":
|
||||||
<string>, "email": <string>, "password": <string>}</code
|
<string>, "email": <string>, "password":
|
||||||
|
<string>}</code
|
||||||
>
|
>
|
||||||
|
|
||||||
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
||||||
@@ -259,15 +260,15 @@
|
|||||||
<code>{"X-Api-Key": <string>}</code>
|
<code>{"X-Api-Key": <string>}</code>
|
||||||
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
<h5 class="text-caption q-mt-sm q-mb-none">Curl example</h5>
|
||||||
<code
|
<code
|
||||||
>curl -X POST {{ request.base_url }}usermanager/api/v1/extensions?extension=withdraw&userid=user_id&active=true -H "X-Api-Key: {{ user.wallets[0].inkey }}" -H
|
>curl -X POST {{ request.base_url
|
||||||
"Content-type: application/json"
|
}}usermanager/api/v1/extensions?extension=withdraw&userid=user_id&active=true
|
||||||
|
-H "X-Api-Key: {{ user.wallets[0].inkey }}" -H "Content-type:
|
||||||
|
application/json"
|
||||||
</code>
|
</code>
|
||||||
<h5 class="text-caption q-mt-sm q-mb-none">
|
<h5 class="text-caption q-mt-sm q-mb-none">
|
||||||
Returns 200 OK (application/json)
|
Returns 200 OK (application/json)
|
||||||
</h5>
|
</h5>
|
||||||
<code
|
<code>{"extension": "updated"}</code>
|
||||||
>{"extension": "updated"}</code
|
|
||||||
>
|
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
</q-card>
|
</q-card>
|
||||||
</q-expansion-item>
|
</q-expansion-item>
|
||||||
|
Reference in New Issue
Block a user