diff --git a/mobile/lib/face/db.dart b/mobile/lib/face/db.dart index 73dc462802..84a208f047 100644 --- a/mobile/lib/face/db.dart +++ b/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], );