From c405e3cc315eb1ea000d1ffab04475f065de604f Mon Sep 17 00:00:00 2001 From: Jeff Kala <48843785+jeffkala@users.noreply.github.com> Date: Tue, 12 Dec 2023 09:58:17 -0700 Subject: [PATCH] Fix role not loading in jobs form fixes #135 --- nautobot_device_onboarding/jobs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nautobot_device_onboarding/jobs.py b/nautobot_device_onboarding/jobs.py index 232d4342..8dcf2cb8 100644 --- a/nautobot_device_onboarding/jobs.py +++ b/nautobot_device_onboarding/jobs.py @@ -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.", )