8106 set share status in contacts

This commit is contained in:
Thorsten Claus 2021-06-17 10:26:39 +02:00
parent 1dd2382d03
commit 123b8b906c

View file

@ -34,7 +34,7 @@ class ArchiveImporter
def create_contact
person = Person.by_account_identifier(json.fetch("account_id"))
user.contacts.create!(person_id: person.id, sharing: false, receiving: json.fetch("receiving"))
user.contacts.create!(person_id: person.id, sharing: json.fetch("sharing"), receiving: json.fetch("receiving"))
end
end
end