Skip to content

Commit

Permalink
fix(dto): add missing commas
Browse files Browse the repository at this point in the history
...
  • Loading branch information
shentschel authored Apr 3, 2024
1 parent c13456b commit 575b432
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions server/api/dto/admin/request/webauthn.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@ func (dto *CreatePasskeyConfigDto) ToMfaModel(configModel models.Config) models.
Timeout: dto.Timeout,
CreatedAt: now,
UpdatedAt: now,
AttestationPreference: protocol.PreferDirectAttestation
ResidentKeyRequirement: protocol.ResidentKeyRequirementDiscouraged
UserVerification: protocol.VerificationPreferred
Attachment: protocol.CrossPlatform
AttestationPreference: protocol.PreferDirectAttestation,
ResidentKeyRequirement: protocol.ResidentKeyRequirementDiscouraged,
UserVerification: protocol.VerificationPreferred,
Attachment: protocol.CrossPlatform,
}

return mfaConfig
Expand Down

0 comments on commit 575b432

Please sign in to comment.