chore: add authors

This commit is contained in:
Cory Dransfeldt 2023-06-28 21:19:22 -07:00
parent fb71612b52
commit 324483df99
No known key found for this signature in database
2 changed files with 2 additions and 0 deletions

View file

@ -19,6 +19,7 @@ module.exports = async function () {
})?.['cover_i']
books.push({
title: book.title,
author: book['authors'][0].name,
url: `https://oku.club/book/${book.slug}`,
cover: coverId
? `https://books.coryd.dev/b/id/${coverId}-L.jpg`