Skip to content

Commit

Permalink
Update api/gen_ai/views.py
Browse files Browse the repository at this point in the history
Co-authored-by: Matthew T <[email protected]>
  • Loading branch information
rohitvinnakota-codecov and mdtro authored Jan 17, 2025
1 parent da13f82 commit b411a8b
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 @@ -27,7 +27,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 b411a8b

Please sign in to comment.