Skip to content

Commit c43c63a

Browse files
isodudejeremystretch
authored andcommitted
14346 fix missing function call convert
In PR #13958 (commit 8224644) _get_report was modified to do the call on the variable without changing the call later on. This commit fixes that and removes the call on the variable. Signed-off-by: Josef Johansson <[email protected]>
1 parent 792b353 commit c43c63a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netbox/extras/api/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ def run(self, request, pk):
283283

284284
# Retrieve and run the Report. This will create a new Job.
285285
module, report_cls = self._get_report(pk)
286-
report = report_cls()
286+
report = report_cls
287287
input_serializer = serializers.ReportInputSerializer(
288288
data=request.data,
289289
context={'report': report}

0 commit comments

Comments
 (0)