1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-26 16:22:23 +00:00

Remove test code

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello 2024-04-06 22:37:33 +02:00
parent 7ae015cef9
commit 54016a1fbf
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85

View File

@ -1886,7 +1886,6 @@ class GSheetNotificationsView(View):
return HttpResponse(status=404) return HttpResponse(status=404)
tournament = await Tournament.objects.prefetch_related('participations', 'pools').aget(pk=kwargs['pk']) tournament = await Tournament.objects.prefetch_related('participations', 'pools').aget(pk=kwargs['pk'])
request.site.domain = "test.ynerant.fr"
expected_channel_id = sha1(f"{tournament.name}{timezone.now().date()}{request.site.domain}".encode()) \ expected_channel_id = sha1(f"{tournament.name}{timezone.now().date()}{request.site.domain}".encode()) \
.hexdigest() .hexdigest()