swagger lint

This commit is contained in:
Michael Quigley 2022-07-25 16:44:13 -04:00
parent 754674d8f8
commit 17c75b212d
No known key found for this signature in database
GPG Key ID: 9B60314A9DD20A62
2 changed files with 2 additions and 2 deletions

View File

@ -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)
},
}

View File

@ -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,
})
}