getBookmark() broken
aeirola opened this issue · comments
I'm trying to add bookmark support for the metalsmith-prismic library, but noticed that the getBookmark()
method throws the following exception when called:
Uncaught TypeError: this.getById is not a function
at prismic.fn.prismic.getBookmark (node_modules/prismic.io/dist/prismic.io.js:397:14)
...
The method should probably call getByID
, instead of the nonexistent getById
.
I can circumvent this bug by replicating the functionality of getBookmark
in the calling code, so not a major issue. Mainly an annoyance.