Describe the bug
"Create Media DB entry by id" using /books/ID stopped working.
Taking the example from the plugin documentation ("Fantastic Mr. Fox")
- /works/OL45804W (this works)
- /books/OL3567303M (this stopped working)
To Reproduce
Trigger "Create Media DB entry by id" using /books/OL3567303M as the ID
Expected behavior
This should fetch a specific edition of "Fantastic Mr. Fox" the "/books/" URL looks like this https://openlibrary.org/books/OL3567303M/
Screenshots
TypeError: Cannot read properties of undefined (reading 'title') at so.getById (plugin:obsidian-media-db-plugin:39:5046) at async eval (plugin:obsidian-media-db-plugin:85:8475) at async en.openIdSearchModal (plugin:obsidian-media-db-plugin:85:2837) at async tn.createEntryWithIdSearchModal (plugin:obsidian-media-db-plugin:85:8422)
Occurs on
Plugin version
0.8.0
Describe the bug
"Create Media DB entry by id" using /books/ID stopped working.
Taking the example from the plugin documentation ("Fantastic Mr. Fox")
To Reproduce
Trigger "Create Media DB entry by id" using /books/OL3567303M as the ID
Expected behavior
This should fetch a specific edition of "Fantastic Mr. Fox" the "/books/" URL looks like this https://openlibrary.org/books/OL3567303M/
Screenshots
TypeError: Cannot read properties of undefined (reading 'title') at so.getById (plugin:obsidian-media-db-plugin:39:5046) at async eval (plugin:obsidian-media-db-plugin:85:8475) at async en.openIdSearchModal (plugin:obsidian-media-db-plugin:85:2837) at async tn.createEntryWithIdSearchModal (plugin:obsidian-media-db-plugin:85:8422)Occurs on
Plugin version
0.8.0