Skip to content

Commit

Permalink
fixed too many obsolete voeux
Browse files Browse the repository at this point in the history
  • Loading branch information
Numero7 committed Oct 23, 2024
1 parent 01cec72 commit 474ad0f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class UpdateFormationDbs(
voeuxEntities.addAll(voeuxFormation.map { VoeuEntity(it) })
}

val voeuxIds = voeux.map { it.key }.toSet()
val voeuxIds = voeuxEntities.map { it.id }.toSet()

val voeuxObsoletes = HashSet(voeuxDb.findAll())
voeuxObsoletes.removeIf { voeuxIds.contains(it.id) }
Expand Down

0 comments on commit 474ad0f

Please sign in to comment.