Analyse: Heatmap-Link, Sperre, leere Domains, Tab-Wettlauf

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
ClaudeandClaude Sonnet 5.5 committed 2026-10-01 10:27:20 +00:00
1 parent 5a6fbc7328
commit 7fc5ba8528
3 files changed
+25 -13

No files matched your search

+1
View File
@@ -139,6 +139,7 @@ export async function activateAnalyse({ customerId, projectId, accentColor, cons
const eligibility = await analyseEligibility(customerId, projectId)
if (!eligibility.ok) throw httpError(ELIGIBILITY_STATUS[eligibility.reason], ELIGIBILITY_MESSAGES[eligibility.reason])
const { project } = eligibility
if (!analyseDomains(project).length) throw httpError(409, 'Keine gültige Domain für die Analyse')
const existing = await ensureFeatureDoc(customerId, projectId, FEATURE_KEY)
if (existing.state === 'disabled' && by === 'customer') {