cleaning err print statement
This commit is contained in:
@@ -163,7 +163,6 @@ func RemoveVolunteerHandler(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
|
||||
teamLeadID, err := strconv.Atoi(r.FormValue("team_lead_id"))
|
||||
fmt.Print(teamLeadID)
|
||||
if err != nil {
|
||||
http.Error(w, "Invalid team lead ID", http.StatusBadRequest)
|
||||
return
|
||||
|
||||
@@ -2,7 +2,6 @@ package utils
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"html/template"
|
||||
"log"
|
||||
"net/http"
|
||||
@@ -57,7 +56,6 @@ func Render(w http.ResponseWriter, tmpl string, data interface{}) {
|
||||
|
||||
// Get individual components from environment variables
|
||||
TemplatesURL := os.Getenv("TEMPLATES_URL")
|
||||
fmt.Print(TemplatesURL)
|
||||
|
||||
// Paths for layout + page templates
|
||||
layout := filepath.Join(TemplatesURL, "layout.html")
|
||||
|
||||
Reference in New Issue
Block a user