feat: migrate project secrets and user-scoped colors

This commit is contained in:
Gabriel20xx committed 2026-09-15 13:23:17 +02:00
1 parent dcfdb3d7af
commit 0e450d53de
9 files changed
+263 -7

No files matched your search

+1 -1
View File
@@ -97,7 +97,7 @@ core_config.on_update(lambda info: auth_client.set_base_url(info.auth_guard_url)
# in your framework's route for PUT /api/core-services/internal:
async def push_core_services(request):
if request.headers.get("X-Internal-Auth") != INTERNAL_SERVICE_SECRET:
if request.headers.get("X-Internal-Auth") != SECRET:
raise HTTPException(status_code=401)
body = await request.json()
info = core_config.set(CoreConfigInfo.from_json(body))