fix: 修复类型错误(任务 1.3/20)
This commit is contained in:
1 parent
0a06a8688b
commit
337284166f
2 files changed
+1
-2
No files matched your search
@@ -1,5 +1,4 @@
|
||||
import * as fs from 'fs';
|
||||
import * as path from 'path';
|
||||
|
||||
interface TestResult {
|
||||
title: string;
|
||||
|
||||
@@ -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(),
|
||||
|
||||
Reference in new issue
Block a user