Fix possible inesistent author
parent
8204df9a15
commit
839016daa3
|
@ -212,7 +212,7 @@ function fillWithPostData(hw: HandiWork, elements: IPostElement[]) {
|
||||||
getPostElementByName(elements, "developer/publisher") ||
|
getPostElementByName(elements, "developer/publisher") ||
|
||||||
getPostElementByName(elements, "artist");
|
getPostElementByName(elements, "artist");
|
||||||
const author: TAuthor = {
|
const author: TAuthor = {
|
||||||
name: authorElement.text,
|
name: authorElement?.text,
|
||||||
platforms: []
|
platforms: []
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue