fix: 修复类型错误(任务 1.3/20)
This commit is contained in:
@@ -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