From 30081336f1c90b8884e950cc60aab7608401cc94 Mon Sep 17 00:00:00 2001 From: Abdul Wahab Date: Thu, 2 May 2024 21:46:34 +0500 Subject: [PATCH] Addressed changes --- handlers/features.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/handlers/features.go b/handlers/features.go index c8b03f215..9c4f9cd68 100644 --- a/handlers/features.go +++ b/handlers/features.go @@ -41,6 +41,8 @@ func (oh *featureHandler) CreateOrEditFeatures(w http.ResponseWriter, r *http.Re return } + features.CreatedBy = pubKeyFromAuth + // Validate struct data err = db.Validate.Struct(features) if err != nil {