fix check subscription

This commit is contained in:
2025-12-19 16:27:28 -03:00
parent 192be98c39
commit 5959287fea
2 changed files with 16 additions and 0 deletions

View File

@@ -182,6 +182,7 @@ def enroll_now(enrollment: Enrollment, context: Context):
),
cond_expr='attribute_exists(sk)',
exc_cls=SubscriptionRequiredError,
table_name=USER_TABLE,
)
transact.put(
item={
@@ -289,6 +290,7 @@ def enroll_later(enrollment: Enrollment, context: Context):
),
cond_expr='attribute_exists(sk)',
exc_cls=SubscriptionRequiredError,
table_name=USER_TABLE,
)
transact.put(
item={

View File

@@ -119,6 +119,20 @@ export default function Component({
className="rounded-full"
>
<PlusIcon />
<span
className="
transition-all
duration-200
ease-out
hidden
group-hover:block
"
>
<span className="overflow-hidden whitespace-nowrap">
Matricular-se
</span>
</span>
</Button>
</ItemActions>
</Item>