diff options
author | Benjamin Neff <benjamin@coding4coffee.ch> | 2021-09-29 02:58:12 +0300 |
---|---|---|
committer | Benjamin Neff <benjamin@coding4coffee.ch> | 2021-09-29 02:58:57 +0300 |
commit | d9116efb858984c050ed0cf121c1191baf50ed34 (patch) | |
tree | ca28a7a3df156d17994bc9585c48f0ed5023d914 /lib | |
parent | 274edf7589620915b402e594b2fc0ce185cde76e (diff) |
Revert #8254
This reverts commit 123b8b906cce08a1020c7d960e569cc56cabd349.
This reverts commit 60f9dbcdbd2c8d2217c9496926fd17cd53e2906b.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/archive_importer/contact_importer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/archive_importer/contact_importer.rb b/lib/archive_importer/contact_importer.rb index b64dfe7b7..492375691 100644 --- a/lib/archive_importer/contact_importer.rb +++ b/lib/archive_importer/contact_importer.rb @@ -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: json.fetch("sharing"), receiving: json.fetch("receiving")) + user.contacts.create!(person_id: person.id, sharing: false, receiving: json.fetch("receiving")) end end end |