AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
feat(backend): Allow promo coupon for credits top-up
Zamil Majdy091587904928
diff --git a/autogpt_platform/backend/backend/data/credit.py b/autogpt_platform/backend/backend/data/credit.pyindex d4e752c784..c0f4dc9c38 100644--- a/autogpt_platform/backend/backend/data/credit.py+++ b/autogpt_platform/backend/backend/data/credit.py@@ -425,6 +425,7 @@ class UserCredit(UserCreditBase):+ "/marketplace/credits?topup=success",cancel_url=settings.config.frontend_base_url+ "/marketplace/credits?topup=cancel",+ allow_promotion_codes=True,)await self._add_transaction(