change variable name

This commit is contained in:
filifa 2025-04-06 01:51:41 -04:00
parent 46664bc419
commit 64e2ee31e8
1 changed files with 2 additions and 2 deletions

View File

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