change variable name

This commit is contained in:
filifa
2025-04-06 01:51:41 -04:00
parent 46664bc419
commit 64e2ee31e8

View File

@@ -28,12 +28,12 @@ import (
func content(cmd *cobra.Command, args []string) {
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 {
log.Fatal(err)
}
json, err := json.Marshal(standing)
json, err := json.Marshal(content)
if err != nil {
log.Fatal(err)
}