CMorooney / obsidian-game-search-plugin

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

`esrb_rating` renders as `[object Object]` #46

Closed breakid closed 3 weeks ago

breakid commented 4 weeks ago

Describe the bug

The {{esrb_rating}} template variable is replace with [object Object].

To Reproduce

  1. Add esrb_rating: {{esrb_rating}} to the metadata portion of your template
  2. Generate a note for a game with an ESRB rating (e.g., Aegis Defenders (2018))
  3. The note should contain:

    esrb_rating: [object Object]

Expected behavior

The name attribute of the RAWGESRBRating object should be returned

CMorooney commented 3 weeks ago

released your fix in 0.2.13 -- thanks!