diff --git a/sdks/apigw-manager/src/apigw_manager/apigw/management/commands/sync_apigw_resources.py b/sdks/apigw-manager/src/apigw_manager/apigw/management/commands/sync_apigw_resources.py index 156907f..567abab 100644 --- a/sdks/apigw-manager/src/apigw_manager/apigw/management/commands/sync_apigw_resources.py +++ b/sdks/apigw-manager/src/apigw_manager/apigw/management/commands/sync_apigw_resources.py @@ -53,7 +53,7 @@ def do(self, manager, definition, configuration, *args, **kwargs): 'delete': kwargs["delete"], } - if 'doc_language' in kwargs: + if kwargs['doc_language']: sync_args['doc_language'] = kwargs['doc_language'] result = manager.sync_resources_config(**sync_args)