Closed xpuu closed 3 years ago
Hey @xpuu,
Hi, once again thanks for your great work. I use this lib in our 3D Printer UI already for 3 years and love it.
❤️
But, as my overly attentive colleague pointed out, when you run .query(false) wretcher adds '?' or '&', which might confuse the api server.
Thanks for reporting the issue! I've just pushed commit 15464a8 containing the fix. I'll also make a a patch release in a few minutes 📦.
Hi, once again thanks for your great work. I use this lib in our 3D Printer UI already for 3 years and love it. I'm used to do nasty things with her e.g.:
But, as my overly attentive colleague pointed out, when you run
.query(false)
wretcher adds '?' or '&', which might confuse the api server.I propose to add simple check to
appendQueryParams
on line 325, something like: