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

This commit is contained in:
张翔 committed 2026-04-12 15:14:06 +08:00
1 parent 0a06a8688b
commit 337284166f
2 files changed
+1 -2

No files matched your search

-1
View File
@@ -1,5 +1,4 @@
import * as fs from 'fs'; import * as fs from 'fs';
import * as path from 'path';
interface TestResult { interface TestResult {
title: string; title: string;
+1 -1
View File
@@ -57,7 +57,7 @@ export async function POST(request: NextRequest) {
id: nanoid(), id: nanoid(),
email, email,
name, name,
password: hashedPassword, passwordHash: hashedPassword,
isAdmin: role === 'admin', isAdmin: role === 'admin',
createdAt: new Date(), createdAt: new Date(),
updatedAt: new Date(), updatedAt: new Date(),