Merge pull request #13456 from gamuniz/add_limit_to_serializer

added 'limit' to InventorySourceSerializer
This commit is contained in:
Gabriel Muniz
2023-01-20 16:21:58 -05:00
committed by GitHub

View File

@@ -2083,7 +2083,7 @@ class InventorySourceSerializer(UnifiedJobTemplateSerializer, InventorySourceOpt
class Meta: class Meta:
model = InventorySource model = InventorySource
fields = ('*', 'name', 'inventory', 'update_on_launch', 'update_cache_timeout', 'source_project') + ( fields = ('*', 'name', 'inventory', 'update_on_launch', 'update_cache_timeout', 'source_project', 'limit') + (
'last_update_failed', 'last_update_failed',
'last_updated', 'last_updated',
) # Backwards compatibility. ) # Backwards compatibility.