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

Fix choices count #191

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

smutel
Copy link
Contributor

@smutel smutel commented Nov 15, 2024

  • feat: Update to Netbox v4.0.11
  • feat: Add generate command in Makefile
  • fix: choices_count is integer not string

Error message from the API with current go-netbox version:

Error: json: cannot unmarshal number into Go struct field _CustomFieldChoiceSet.choices_count of type string

@smutel
Copy link
Contributor Author

smutel commented Nov 20, 2024

@awlx @kobayashi @v0ctor What do you think about this PR ?

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

Successfully merging this pull request may close these issues.

1 participant