Skip to content

Commit

Permalink
fixup! add request_id and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
azuki774 committed Jul 14, 2024
1 parent ca2924f commit 298eaa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/server/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ func (s *Server) proxyHandler(w http.ResponseWriter, r *http.Request) {

func (s *Server) proxyMain(w http.ResponseWriter, r *http.Request) (resultCode ProxyResultCode) {
// Get request_id from http.Request
reqId := telemetry.GetRequestIDFromCtx(r.Context())

reqIdtmp := telemetry.GetRequestIDFromCtx(r.Context())
reqId := reqIdtmp
// Get Cookie
// Cookie Check
cookieOk, err := s.Authenticater.IsValidCookie(r)
Expand Down

0 comments on commit 298eaa1

Please sign in to comment.