Skip to content

Commit

Permalink
removed log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
yashlm committed Jan 22, 2024
1 parent 178f262 commit 37de14b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions rc/admin.company.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package rc
import (
"net/http"
"strconv"
"log"
"github.com/gin-gonic/gin"
"github.com/sirupsen/logrus"
"github.com/spo-iitk/ras-backend/middleware"
Expand Down Expand Up @@ -146,9 +145,6 @@ func getCompanyHistoryHandler(ctx *gin.Context) {
return
}

log.Println("Received request for company history with cid:", cid)
log.Println("Request URL:", ctx.Request.URL.String())

err = getCompanyHistory(ctx, uint(cid), &companyHistory)
if err != nil {
ctx.AbortWithStatusJSON(http.StatusBadRequest, gin.H{"error": err.Error()})
Expand Down

0 comments on commit 37de14b

Please sign in to comment.