mirror of
https://github.com/openziti/zrok.git
synced 2025-01-03 04:29:19 +01:00
swagger lint
This commit is contained in:
parent
754674d8f8
commit
17c75b212d
@ -49,6 +49,6 @@ var createAccountCmd = &cobra.Command{
|
||||
panic(err)
|
||||
}
|
||||
|
||||
logrus.Infof("api token: %v", resp.Payload.APIToken)
|
||||
logrus.Infof("api token: %v", resp.Payload.Token)
|
||||
},
|
||||
}
|
||||
|
@ -82,7 +82,7 @@ func createAccountHandler(params identity.CreateAccountParams) middleware.Respon
|
||||
|
||||
logrus.Infof("account created with id = '%v'", id)
|
||||
return identity.NewCreateAccountCreated().WithPayload(&rest_model.AccountResponse{
|
||||
APIToken: token,
|
||||
Token: token,
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user