mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 09:02:11 +01:00 
			
		
		
		
	Add supportAllDrives=true parameter to GDrive notifications
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
		@@ -46,7 +46,7 @@ class Command(BaseCommand):
 | 
			
		||||
                continue
 | 
			
		||||
 | 
			
		||||
            channel_id = sha1(f"{tournament.name}-{timezone.now().date()}-{site.domain}".encode()).hexdigest()
 | 
			
		||||
            url = f"https://www.googleapis.com/drive/v3/files/{tournament.notes_sheet_id}/watch"
 | 
			
		||||
            url = f"https://www.googleapis.com/drive/v3/files/{tournament.notes_sheet_id}/watch?supportsAllDrives=true"
 | 
			
		||||
            notif_path = reverse('participation:tournament_gsheet_notifications', args=[tournament.pk])
 | 
			
		||||
            notif_url = f"https://{site.domain}{notif_path}"
 | 
			
		||||
            body = {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user