Skip to content

Commit

Permalink
get_facility_context_data needs the target to resolve it via Swifts r…
Browse files Browse the repository at this point in the history
…esolver
  • Loading branch information
phycodurus committed Oct 5, 2023
1 parent 4f0729b commit 98c0498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tom_observations/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def get_context_data(self, **kwargs):

# allow the Facility class to add data to the context
facility_class = self.get_facility_class()
facility_context = facility_class().get_facility_context_data()
facility_context = facility_class().get_facility_context_data(target=target)
context.update(facility_context)

return context
Expand Down

0 comments on commit 98c0498

Please sign in to comment.