Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
rrlapointe committed May 13, 2018
1 parent 6869cd7 commit a38b09a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions events/cal.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def get(self, request, *args, **kwargs):

from_date = request.GET.get('from', False)
to_date = request.GET.get('to', False)
return HttpResponse(generate_cal_json(queryset, from_date, to_date))
return HttpResponse(generate_cal_json_publicfacing(queryset, from_date, to_date))


class FindChiefCalJsonView(BaseCalJsonView):
Expand All @@ -116,7 +116,7 @@ def get(self, request, *args, **kwargs):

from_date = request.GET.get('from', False)
to_date = request.GET.get('to', False)
return HttpResponse(generate_cal_json_publicfacing(queryset, from_date, to_date))
return HttpResponse(generate_cal_json(queryset, from_date, to_date))


class IncomingCalJsonView(BaseCalJsonView):
Expand Down

0 comments on commit a38b09a

Please sign in to comment.