Skip to content

Commit

Permalink
Addressed changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdulWahab3181 committed May 2, 2024
1 parent 298a07b commit 3008133
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions handlers/features.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 3008133

Please sign in to comment.