From 3d24617ede25fad3adc7f232edd76daf9ec6071c Mon Sep 17 00:00:00 2001 From: Dennis Schoepf Date: Tue, 30 Apr 2024 20:23:11 +0200 Subject: [PATCH] Removes validate annotation from User ID --- internal/model/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/model/user.go b/internal/model/user.go index ba2b550..14d05c5 100644 --- a/internal/model/user.go +++ b/internal/model/user.go @@ -1,7 +1,7 @@ package model type User struct { - ID string `json:"id" validate:"required"` + ID string `json:"id"` FirstName string `json:"firstName" validate:"required"` Email string `json:"email" validate:"required,email"` }