fix syntax
This commit is contained in:
		
							
								
								
									
										2
									
								
								index.js
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								index.js
									
									
									
									
									
								
							@@ -130,7 +130,7 @@ function normalizeGoogleData(book) {
 | 
				
			|||||||
  return {
 | 
					  return {
 | 
				
			||||||
    title: book.subtitle ? book.title + ': ' + book.subtitle : book.title,
 | 
					    title: book.subtitle ? book.title + ': ' + book.subtitle : book.title,
 | 
				
			||||||
    author: _.join(book.authors, ', '),
 | 
					    author: _.join(book.authors, ', '),
 | 
				
			||||||
    authorLast: _.join(book.authors ? _.lowerCase(_.head(_.reverse(_.split(book.authors[0], ' ')))), '') : '',
 | 
					    authorLast: book.authors ? _.join(_.lowerCase(_.head(_.reverse(_.split(book.authors[0], ' ')))), '') : '',
 | 
				
			||||||
    "isbn-10": _.find(book.industryIdentifiers, { type: "ISBN_10" })
 | 
					    "isbn-10": _.find(book.industryIdentifiers, { type: "ISBN_10" })
 | 
				
			||||||
      ? _.find(book.industryIdentifiers, { type: "ISBN_10" }).identifier
 | 
					      ? _.find(book.industryIdentifiers, { type: "ISBN_10" }).identifier
 | 
				
			||||||
      : '',
 | 
					      : '',
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user