8106 set share status in contacts
This commit is contained in:
parent
1dd2382d03
commit
123b8b906c
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue