Skip to content

Commit

Permalink
format file
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit Vermeulen committed Jan 23, 2025
1 parent 7cd6b64 commit 9d4fd6d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,8 @@ async def http_send_message(self) -> dict[Any, Any]:
computed_signature = str(base64.b64encode(h))
signature = request.headers.get("X-Turn-Hook-Signature", "")
logger.info(
f"Signature from Turn: {signature}. Computed: {computed_signature}"
f"Signature from Turn: {signature}."
"Computed: {computed_signature}"
)
if not hmac.compare_digest(computed_signature, signature):
raise SignatureMismatchError()
Expand Down

0 comments on commit 9d4fd6d

Please sign in to comment.