fix(firebase): fix save fcm token logic

This commit is contained in:
sankalp committed 2025-04-22 16:33:51 +05:45
1 parent 4b23e1b531
commit 200661be65
6 files changed
+309 -204

No files matched your search

+2 -2
View File
@@ -699,11 +699,11 @@ def edit_course_tracking(request):
# Update tracking fields
start_date = request.POST.get("start_date")
if start_date:
tracking.start_date = start_date
tracking.start_date = datetime.strptime(start_date, "%Y-%m-%d").date()
expected_end_date = request.POST.get("expected_end_date")
if expected_end_date:
tracking.expected_end_date = expected_end_date
tracking.expected_end_date = datetime.strptime(expected_end_date, "%Y-%m-%d").date()
current_period = request.POST.get("current_period")
if current_period: