Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect value in examples/peopleAppendListProperty.go #69

Open
josh-codexhealth opened this issue Mar 28, 2024 · 0 comments
Open

Incorrect value in examples/peopleAppendListProperty.go #69

josh-codexhealth opened this issue Mar 28, 2024 · 0 comments

Comments

@josh-codexhealth
Copy link

josh-codexhealth commented Mar 28, 2024

The vehicles property is incorrect.

From line 34-

// we have a list of vehicles, lets add a new one
	if err := mp.PeopleAppendListProperty(ctx, "Spartan-117", map[string]any{
		"vehicles": 1,
	}); err != nil {
		return err
	}

Correct Version:

// we have a list of vehicles, lets add a new one
	if err := mp.PeopleAppendListProperty(ctx, "Spartan-117", map[string]any{
		"vehicles": "puma",
	}); err != nil {
		return err
	}
@josh-codexhealth josh-codexhealth changed the title Incorrect value in examples /peopleAppendListProperty.go Incorrect value in examples/peopleAppendListProperty.go Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant