Skip to content

Commit 1f48c26

Browse files
committed
fixed
1 parent 7991833 commit 1f48c26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/classes/Standardizer/plugins/Google/getters/getContacts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const CONTACT_FILE_VCF = 'Takeout/Contacts/Tous les contacts/Tous les contacts.v
99
Google.prototype.getContacts = withAutoParser(async parser => {
1010
if (!(await parser.filesExist([CONTACT_FILE_VCF]))) {
1111
const rawContacts = await parser.parseAsCSV(CONTACT_FILE_CSV)
12-
const contacts: Contact[] = rawContacts.map((contact): Contact => ({
12+
const contacts: Contact[] = rawContacts.data.map((contact): Contact => ({
1313
displayName: contact?.Name,
1414
firstName: contact['Given Name'],
1515
lastName: contact['Family Name'],

0 commit comments

Comments
 (0)