fix typo

Fixes the typo on documents API which renders the documents shared on the post to the plugin.