change variable name
This commit is contained in:
parent
46664bc419
commit
64e2ee31e8
|
@ -28,12 +28,12 @@ import (
|
||||||
|
|
||||||
func content(cmd *cobra.Command, args []string) {
|
func content(cmd *cobra.Command, args []string) {
|
||||||
client := api.NewAPIClient(api.NewConfiguration())
|
client := api.NewAPIClient(api.NewConfiguration())
|
||||||
standing, _, err := client.GameApi.Content(context.Background(), gamePk, nil)
|
content, _, err := client.GameApi.Content(context.Background(), gamePk, nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
json, err := json.Marshal(standing)
|
json, err := json.Marshal(content)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue