Skip to content

Commit

Permalink
Merge branch 'rvinnakota/add-ai-auth-endpoint' of https://github.com/…
Browse files Browse the repository at this point in the history
…codecov/codecov-api into rvinnakota/add-ai-auth-endpoint
  • Loading branch information
rohitvinnakota-codecov committed Jan 17, 2025
2 parents 624ee10 + b411a8b commit 161ab0e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion api/gen_ai/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ def validate_signature(self, request):
if isinstance(key, str):
key = key.encode("utf-8")
expected_sig = request.headers.get("HTTP-X-GEN-AI-AUTH-SIGNATURE")
print(request.headers)
computed_sig = (
"sha256=" + hmac.new(key, request.body, digestmod=sha256).hexdigest()
)
Expand Down

0 comments on commit 161ab0e

Please sign in to comment.