diff --git a/scripts/analyze-test-coverage.ts b/scripts/analyze-test-coverage.ts index b29e763..9683f91 100644 --- a/scripts/analyze-test-coverage.ts +++ b/scripts/analyze-test-coverage.ts @@ -1,5 +1,4 @@ import * as fs from 'fs'; -import * as path from 'path'; interface TestResult { title: string; diff --git a/src/app/api/admin/users/route.ts b/src/app/api/admin/users/route.ts index 01750dd..0e3a29e 100644 --- a/src/app/api/admin/users/route.ts +++ b/src/app/api/admin/users/route.ts @@ -57,7 +57,7 @@ export async function POST(request: NextRequest) { id: nanoid(), email, name, - password: hashedPassword, + passwordHash: hashedPassword, isAdmin: role === 'admin', createdAt: new Date(), updatedAt: new Date(),