CMorooney / obsidian-game-search-plugin

Obsidian plugin that automatically creates notes by searching for video games
MIT License
34 stars 9 forks source link

Cannot set properties of undefined (setting 'toString') #29

Closed SrsBusinesx closed 3 weeks ago

SrsBusinesx commented 1 month ago

Describe the bug Uncaught (in promise) TypeError: Cannot set properties of undefined (setting 'toString') at ct (plugin:game-search:6:3822) at He (plugin:game-search:6:3445) at eval (plugin:game-search:8:33413) at Generator.next () at i (plugin:game-search:6:670)

To Reproduce Steps to reproduce the behavior: at ct (plugin:game-search:6:3822) at He (plugin:game-search:6:3445) at eval (plugin:game-search:8:33413) at Generator.next () at i (plugin:game-search:6:670)

My rawg API works - I can add Games if i search them and only create one note. But if I try to sync my steam I get the error above.

Steam ID and API are correct, and my profile settings etc. are set to public.

Help would be realy nice :)

CMorooney commented 1 month ago

@SrsBusinesx can you try version 0.2.5? since I don't have an easy path to reproduce it was a bit of a blind fix not totally sure it'll help you or not but let me know what if anything changes

ivuorinen commented 1 month ago

I was experiencing the same problem and can now verify the initial sync started working 🎉

SrsBusinesx commented 1 month ago

Thank you for your time and the fast fix! It works now, for me too :)!