fix: 修复类型错误(任务 1.3/20)

This commit is contained in:
张翔
2026-04-12 15:14:06 +08:00
parent 0a06a8688b
commit 337284166f
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -1,5 +1,4 @@
import * as fs from 'fs';
import * as path from 'path';
interface TestResult {
title: string;
+1 -1
View File
@@ -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(),