fix(noti): Fix notification #152

Merged
zelda merged 1 commits from zelda.update-checkin-api into master 2025-12-23 11:43:56 +11:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit bd0d4fa13b - Show all commits

View File

@ -354,7 +354,7 @@ async def checkin(background_tasks: BackgroundTasks, file: UploadFile = File(...
} if student else None
return {"message": f"Check-in successful for {student_names.get(best_student)} (dist={best_distance:.4f})", "status": True, "status_type":status, "data": user_data}
return {"message": f"{status} successful for {student_names.get(best_student)} (dist={best_distance:.4f})", "status": True, "status_type":status, "data": user_data}
# Nếu không thỏa threshold/rule thì trả no match (và log lý do)
reasons = []

View File

@ -8,7 +8,7 @@
<script
type="module"
crossorigin
src="/camera/static/assets/index-oi-Xrs3k.js"
src="/camera/static/assets/index-DW_Nku2j.js"
></script>
<link
rel="stylesheet"