Merge pull request 'fix(noti): Fix notification' (#152) from zelda.update-checkin-api into master
Reviewed-on: #152
This commit is contained in:
commit
9f921750fc
|
|
@ -354,7 +354,7 @@ async def checkin(background_tasks: BackgroundTasks, file: UploadFile = File(...
|
||||||
} if student else None
|
} 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)
|
# Nếu không thỏa threshold/rule thì trả no match (và log lý do)
|
||||||
reasons = []
|
reasons = []
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -8,7 +8,7 @@
|
||||||
<script
|
<script
|
||||||
type="module"
|
type="module"
|
||||||
crossorigin
|
crossorigin
|
||||||
src="/camera/static/assets/index-oi-Xrs3k.js"
|
src="/camera/static/assets/index-DW_Nku2j.js"
|
||||||
></script>
|
></script>
|
||||||
<link
|
<link
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue