JsonResponses raus

This commit is contained in:
holger.trampe 2021-01-29 17:56:04 +01:00
parent 99ffe0afdd
commit 80aba1e850
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ def getICSFileExAll(request, code, ag):
#try:
agency = Agency.objects.get(pk=ag)
if agency != None and agency.agencycal_publicstatus == 1 and str(code) == str(agency.agencycalurl):
if agency != None and agency.agencycal_publicstatus == 1 and str(code) == str(agency.agencycalurl_all):
c = Calendar()
absencedays = Absence.objects.filter(agency=ag).exclude(confirm_status=2)
for ab in absencedays: