eXaminator / kanka-foundry

FoundryVTT module to import information from kanka.io
MIT License
22 stars 8 forks source link

Inconsistent fetching causes issues with ancestors attribute #45

Closed tvbronswijk closed 3 years ago

tvbronswijk commented 3 years ago

In KankaApi.ts, single entities are inconsistently fetched from the API. Currently, when trying to fetch a single race from Kanka, I'm getting the error n.ancestors is undefined. When I have multiple outdated races, it seems to work fine. Other entities also work fine with single results. I believe it's the inconsistent matter of fetching that's the issue.

eXaminator commented 3 years ago

Thank's for this! I'll publish a fix for this soon!

github-actions[bot] commented 3 years ago

:tada: This issue has been resolved in version 2.0.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: