Skip to content

Commit

Permalink
Adapt wagon to changes in Core
Browse files Browse the repository at this point in the history
  • Loading branch information
kronn committed Nov 17, 2024
1 parent 771a1ec commit b0772ba
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

# Copyright (c) 2023, Pfadibewegung Schweiz. This file is part of
# Copyright (c) 2023-2024, Pfadibewegung Schweiz. This file is part of
# hitobito_youth and licensed under the Affero General Public License version 3
# or later. See the COPYING file at the top-level directory or at
# https://github.com/hitobito/hitobito_youth.
Expand Down Expand Up @@ -33,7 +33,7 @@ def contact_data_class
def any_duplicates?
relevant_person_attrs = entry.person.attributes
.transform_keys(&:to_sym)
.slice(*Import::PersonDuplicateFinder::DUPLICATE_ATTRIBUTES)
.slice(*People::DuplicateConditions::ATTRIBUTES)

person_duplicate_finder.find(relevant_person_attrs).present?
end
Expand Down

0 comments on commit b0772ba

Please sign in to comment.