Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Creasy <[email protected]>
  • Loading branch information
alexcreasy committed Nov 19, 2024
1 parent 06eef00 commit 90f7f9c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion clients/ui/bff/internal/api/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ type contextKey string

const httpClientKey contextKey = "httpClientKey"
const userAccessToken = "x-forwarded-access-token"
const defaultLoggerKey contextKey = "defaultLoggerKey"

func (app *App) RecoverPanic(next http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
Expand Down
1 change: 1 addition & 0 deletions clients/ui/bff/internal/integrations/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ func (c *HTTPClient) GET(url string) ([]byte, error) {
}

req.Header.Add("Authorization", "Bearer "+c.bearerToken)
c.logger.Debug("Upstream Request", "url")
response, err := c.client.Do(req)
if err != nil {
return nil, err
Expand Down

0 comments on commit 90f7f9c

Please sign in to comment.