From 6ad23ba443eb50228c5209d5ad2edb7a601aa1a7 Mon Sep 17 00:00:00 2001 From: chabanyknikita Date: Tue, 3 Sep 2024 15:09:30 +0300 Subject: [PATCH] remove unnecessary code --- internal/service/handlers/verification-link.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/service/handlers/verification-link.go b/internal/service/handlers/verification-link.go index ab8ddca..a50034c 100644 --- a/internal/service/handlers/verification-link.go +++ b/internal/service/handlers/verification-link.go @@ -47,8 +47,6 @@ func VerificationLink(w http.ResponseWriter, r *http.Request) { if req.Data.Attributes.Uniqueness != nil { user.Uniqueness = *req.Data.Attributes.Uniqueness - } else { - user.Uniqueness = false } existingUser, err := VerifyUsersQ(r).WhereHashID(user.UserIDHash).Get()