fix(auth): credential id column type in authenticators

This commit is contained in:
Karol Sójko
2023-01-26 14:22:09 +01:00
parent e739683bb6
commit a92e8f61bc
5 changed files with 7 additions and 8 deletions
@@ -29,7 +29,7 @@ export class VerifyAuthenticatorAuthenticationResponse implements UseCaseInterfa
const authenticator = await this.authenticatorRepository.findByUserUuidAndCredentialId(
userUuid,
Buffer.from(dto.authenticatorResponse.id as string),
dto.authenticatorResponse.id as string,
)
if (!authenticator) {
return Result.fail(