Skip to content

Commit

Permalink
feat(API) remove forgotten test code
Browse files Browse the repository at this point in the history
  • Loading branch information
Barbozafab committed Jan 8, 2024
1 parent 7e4ac39 commit 469e4aa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion API/models/validateEntity.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ func validateParent(ent string, entNum int, t map[string]interface{}) (map[strin
} else if err != nil {
println("ENTITY VALUE: ", ent)
println("We got Parent: ", parent, " with ID:", t["parentId"].(string))
fmt.Printf("parent should be %v\n", u.EntityToString(parentInt))
return nil, &u.Error{Type: u.ErrInvalidValue,
Message: fmt.Sprintf("ParentID should correspond to existing %s ID", parentStr)}
}
Expand Down

0 comments on commit 469e4aa

Please sign in to comment.