v4.0.0.3
This commit is contained in:
+6
-1
@@ -3165,7 +3165,12 @@ async def owner_client_enquiry(request: Request):
|
||||
"referrer": "",
|
||||
"page": "",
|
||||
}
|
||||
return {"ok": True, "enquiry": enquiry}
|
||||
# Journey is populated by the SvelteKit /api/track/promote endpoint when
|
||||
# the visitor submits the booking form. None means we never recorded a
|
||||
# journey for this email (legacy submission, ad-blocker that also blocked
|
||||
# /api/track, or DB-less local dev).
|
||||
journey = await admin_db.get_submission_journey(email)
|
||||
return {"ok": True, "enquiry": enquiry, "journey": journey}
|
||||
|
||||
|
||||
@app.get("/owner/activity")
|
||||
|
||||
Reference in New Issue
Block a user