diff --git a/breathecode/authenticate/flags.py b/breathecode/authenticate/flags.py index a83082775..40a122249 100644 --- a/breathecode/authenticate/flags.py +++ b/breathecode/authenticate/flags.py @@ -2,7 +2,7 @@ from capyc.core.managers import feature -flags = feature.flags +flags = feature._flags @feature.availability("authenticate.set_google_credentials") diff --git a/breathecode/payments/flags.py b/breathecode/payments/flags.py index d54ce2483..1e5ee5f31 100644 --- a/breathecode/payments/flags.py +++ b/breathecode/payments/flags.py @@ -11,7 +11,7 @@ from breathecode.registry.models import Asset from breathecode.utils.decorators.consume import ServiceContext -flags = feature.flags +flags = feature._flags @feature.availability("payments.bypass_consumption") diff --git a/breathecode/registry/actions.py b/breathecode/registry/actions.py index 080211f41..8cfa67642 100644 --- a/breathecode/registry/actions.py +++ b/breathecode/registry/actions.py @@ -779,6 +779,8 @@ def process_asset_config(asset, config): asset.log_error("template-url", "Only asset types projects can have templates") else: asset.template_url = config["template_url"] + else: + asset.template_url = None if "difficulty" in config: asset.difficulty = config["difficulty"].upper()