-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #221 - Account for changes in choices field
NetBox 2.7 changes the structure of the objects returned in choice fields temporarily until v2.8 is released. This PR causes these fields to serialize to `value` when both `id` and `value` fields are present.
- Loading branch information
Zach Moody
committed
Feb 11, 2020
1 parent
479f0db
commit f58e7ee
Showing
2 changed files
with
42 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters