Support unicode to get users/user APIs
This commit is contained in:
@@ -1814,10 +1814,12 @@ namespace ANSCENTER {
|
||||
}
|
||||
}
|
||||
|
||||
// No faces is a valid state (user just created or faces already removed)
|
||||
if (faceIds.empty()) {
|
||||
LogThreadSafe("ANSFacialRecognition::DeleteFacesByUser",
|
||||
"No faces found for user ID " + std::to_string(userId));
|
||||
return 0;
|
||||
"No faces found for user ID " + std::to_string(userId) + " — skipping",
|
||||
LogLevel::Debug);
|
||||
return 1;
|
||||
}
|
||||
|
||||
// Delete each face from database (lock per deletion)
|
||||
|
||||
Reference in New Issue
Block a user