mirror of
https://github.com/getAlby/lndhub.go.git
synced 2025-12-23 23:55:02 +01:00
replace username by login
This commit is contained in:
10
docs/docs.go
10
docs/docs.go
@@ -399,7 +399,7 @@ const docTemplate = `{
|
||||
},
|
||||
"/v2/users": {
|
||||
"post": {
|
||||
"description": "Create a new account with a username and password",
|
||||
"description": "Create a new account with a login and password",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
@@ -532,10 +532,10 @@ const docTemplate = `{
|
||||
"v2controllers.CreateUserRequestBody": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"password": {
|
||||
"login": {
|
||||
"type": "string"
|
||||
},
|
||||
"username": {
|
||||
"password": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
@@ -543,10 +543,10 @@ const docTemplate = `{
|
||||
"v2controllers.CreateUserResponseBody": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"password": {
|
||||
"login": {
|
||||
"type": "string"
|
||||
},
|
||||
"username": {
|
||||
"password": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user