Neeraj Gupta 1 vuosi sitten
vanhempi
commit
f663bbfc53
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      mobile/lib/face/db.dart

+ 2 - 2
mobile/lib/face/db.dart

@@ -334,10 +334,10 @@ class FaceMLDataDB {
 
     for (final map in faceIDToPersonID.entries) {
       final faceID = map.key;
-      final personID = map.value;
+      final clusterID = map.value;
       batch.update(
         facesTable,
-        {faceClusterId: personID},
+        {faceClusterId: clusterID},
         where: '$faceIDColumn = ?',
         whereArgs: [faceID],
       );