From 575b4327063da8fc60f12e98b92948f27a814746 Mon Sep 17 00:00:00 2001 From: Stefan Jacobi Date: Wed, 3 Apr 2024 20:14:23 +0200 Subject: [PATCH] fix(dto): add missing commas ... --- server/api/dto/admin/request/webauthn.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/api/dto/admin/request/webauthn.go b/server/api/dto/admin/request/webauthn.go index abbf209..f453490 100644 --- a/server/api/dto/admin/request/webauthn.go +++ b/server/api/dto/admin/request/webauthn.go @@ -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