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
commit 8538d37702
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2083,7 +2083,7 @@ class InventorySourceSerializer(UnifiedJobTemplateSerializer, InventorySourceOpt
class Meta:
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_updated',
) # Backwards compatibility.