mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-18 14:01:49 -05:00
change facts_recent to facts_latest
This commit is contained in:
@@ -1835,11 +1835,11 @@ class HostFactCompareView(SystemTrackingEnforcementMixin, SubDetailAPIView):
|
||||
return Response(self.serializer_class(instance=fact_entry).data)
|
||||
|
||||
|
||||
class HostFactsRecentList(SubListAPIView):
|
||||
class HostFactsLatestList(SubListAPIView):
|
||||
|
||||
model = FactRecent
|
||||
model = FactLatest
|
||||
parent_model = Host
|
||||
relationship = 'facts_recent'
|
||||
relationship = 'facts_latest'
|
||||
serializer_class = FactSerializer
|
||||
new_in_320 = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user