formatting

This commit is contained in:
Chris 2026-04-05 15:11:33 +01:00
parent 2c60976525
commit adc92d2353
1 changed files with 1 additions and 3 deletions

View File

@ -252,9 +252,7 @@ class StreamAuthView(APIView):
if not cached:
return HttpResponse(status=403)
payload = (
f"{cached['video_id']}:{expires}:{cached['user_id']}"
)
payload = f"{cached['video_id']}:{expires}:{cached['user_id']}"
expected = hmac.new(
settings.SECRET_KEY.encode(),
payload.encode(),