Skip to content

Commit 8224644

Browse files
committed
13944 fix report detail api
1 parent 786f0cc commit 8224644

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netbox/extras/reports.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
def get_module_and_report(module_name, report_name):
2525
module = ReportModule.objects.get(file_path=f'{module_name}.py')
26-
report = module.reports.get(report_name)
26+
report = module.reports.get(report_name)()
2727
return module, report
2828

2929

0 commit comments

Comments
 (0)