fix demo load
This commit is contained in:
@@ -49,6 +49,7 @@ DEMO_ALLOWED_OPERATIONS = {
|
||||
"/api/v1/production/batches",
|
||||
"/api/v1/tenants/batch/sales-summary",
|
||||
"/api/v1/tenants/batch/production-summary",
|
||||
"/api/v1/auth/me/onboarding/complete", # Allow completing onboarding (no-op for demos)
|
||||
# Note: Forecast generation is explicitly blocked (see DEMO_BLOCKED_PATHS)
|
||||
],
|
||||
|
||||
@@ -56,6 +57,7 @@ DEMO_ALLOWED_OPERATIONS = {
|
||||
"/api/v1/pos/sales/*",
|
||||
"/api/v1/orders/*",
|
||||
"/api/v1/inventory/stock/*",
|
||||
"/api/v1/auth/me/onboarding/step", # Allow onboarding step updates (no-op for demos)
|
||||
],
|
||||
|
||||
# Blocked operations
|
||||
|
||||
Reference in New Issue
Block a user