1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

fix the result of script jobs #14549

This commit is contained in:
Prince Kumar
2023-12-20 22:03:00 +05:30
committed by Jeremy Stretch
parent ec245b968f
commit 12beac4f1a

View File

@@ -114,7 +114,7 @@ class Command(BaseCommand):
# Create the job
job = Job.objects.create(
object=module,
name=script.name,
name=script.class_name,
user=User.objects.filter(is_superuser=True).order_by('pk')[0],
job_id=uuid.uuid4()
)