mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-12-26 17:02:24 +00:00
Remove test code
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
parent
7ae015cef9
commit
54016a1fbf
@ -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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user