Skip to content

Commit

Permalink
Fix role not loading in jobs form
Browse files Browse the repository at this point in the history
fixes #135
  • Loading branch information
jeffkala authored Dec 12, 2023
1 parent 8a98608 commit c405e3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nautobot_device_onboarding/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class OnboardingTask(Job): # pylint: disable=too-many-instance-attributes
)
role = ObjectVar(
model=Role,
query_params={"content_type": "dcim.device"},
query_params={"content_types": "dcim.device"},
required=False,
description="Device role. Define ONLY to override auto-recognition of role.",
)
Expand Down

0 comments on commit c405e3c

Please sign in to comment.