fix: 后端修复passkey注册时challenge不匹配
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import { IsString } from "class-validator";
|
||||
import { IsObject, IsString } from "class-validator";
|
||||
|
||||
export class PasskeyRegisterDto {
|
||||
@IsObject()
|
||||
credentialResponse: any;
|
||||
|
||||
@IsString({ message: '通行证名称只能是字符串' })
|
||||
name: string;
|
||||
}
|
||||
Reference in New Issue
Block a user