fix: point check-in QR links to frontend page

This commit is contained in:
2026-04-30 09:50:58 +02:00
parent 9c9acd3e1d
commit 099b2f10ca
5 changed files with 17 additions and 10 deletions

View File

@@ -7,11 +7,11 @@ from django.conf import settings
from .models import Reservation
CHECK_IN_PREVIEW_PATH = "/api/check-ins/preview/"
CHECK_IN_PAGE_PATH = "/check-in"
def build_check_in_preview_url(raw_check_in_token):
return f"{settings.SITE_BASE_URL}{CHECK_IN_PREVIEW_PATH}?token={raw_check_in_token}"
return f"{settings.SITE_BASE_URL}{CHECK_IN_PAGE_PATH}?token={raw_check_in_token}"
def generate_check_in_qr_png(raw_check_in_token):