strongloop / loopback-component-storage

Storage component for LoopBack.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Documentation looks wrong about download method

arnaud9 opened this issue · comments

Hello, I've been struggling for a while about calling the download method directly from another remote method and I've figured out why. The documentation states that we have to call it with :

image

However, if you don't pass it the req object, it won't work as the cb will be interpreted as the response... I'm not sure it is the right place to report this issue about doc, and would be glad to raise the issue at the correct place if you know it :)

Thanks anyway, keep it up with the great work !

@arnaud-git thanks for reporting, it has been fixed now - http://loopback.io/doc/en/lb3/Storage-component.html.