diff --git a/src/scripts/scrape-data/handiwork-parse.ts b/src/scripts/scrape-data/handiwork-parse.ts index 04414ab..3ddbac8 100644 --- a/src/scripts/scrape-data/handiwork-parse.ts +++ b/src/scripts/scrape-data/handiwork-parse.ts @@ -212,7 +212,7 @@ function fillWithPostData(hw: HandiWork, elements: IPostElement[]) { getPostElementByName(elements, "developer/publisher") || getPostElementByName(elements, "artist"); const author: TAuthor = { - name: authorElement.text, + name: authorElement?.text, platforms: [] };