Skip to content

Commit

Permalink
fix: correct lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
1995parham committed May 13, 2024
1 parent 79587f0 commit 3c01cd8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/handler/student.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ func (s Student) GetAll(c echo.Context) error {
return echo.ErrInternalServerError
}

h := c.Request().Header.Get("STUDENTS-FALL-2022")
log.Printf("STUDENTS-FALL-2022: %s\n", h)
h := c.Request().Header.Get("Students-Fall-2022")
log.Printf("Students-Fall-2022: %s\n", h)

c.Response().Header().Add("STUDENTS-FALL-2022", "123")
c.Response().Header().Add("Students-Fall-2022", "123")

return c.JSON(http.StatusOK, ss)
}
Expand Down

0 comments on commit 3c01cd8

Please sign in to comment.