Skip to content

Commit

Permalink
fix the result of script jobs netbox-community#14549
Browse files Browse the repository at this point in the history
  • Loading branch information
kprince28 committed Dec 20, 2023
1 parent ec245b9 commit cf0bd8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbox/extras/management/commands/runscript.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def _run_script():
# 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()
)
Expand Down

0 comments on commit cf0bd8b

Please sign in to comment.