Refactor error handling and localDb structure, and fix usage tracking bug.

This commit is contained in:
decolua
2026-04-16 10:58:35 +07:00
parent 3badf1cbb6
commit 75ad0bef8e
13 changed files with 162 additions and 109 deletions

View File

@@ -120,6 +120,7 @@ export async function POST(request) {
// Merge new env with existing settings
const newSettings = {
...currentSettings,
hasCompletedOnboarding: true,
env: {
...(currentSettings.env || {}),
...env,