kwent / syno

Simple Node.js wrapper and CLI for Synology DSM REST API 5.x and 6.x.
http://kwent.github.io/syno
MIT License
316 stars 51 forks source link

When response is not "text/plain" #40

Open MattVador opened 6 years ago

MattVador commented 6 years ago

If response is not "text/plain" like "image/jpeg" do not try to get error in data result.

kwent commented 6 years ago

Hi @MattVador,

Thanks for your contribution !

Could you provide more context ?

Regards

TheNON75 commented 4 years ago

Hi @kwent, # The issue seems to be more detailed here