sympmarc / SPServices

SPServices is a jQuery library which abstracts SharePoint's Web Services and makes them easier to use. It also includes functions which use the various Web Service operations to provide more useful (and cool) capabilities. It works entirely client side and requires no server install.
MIT License
207 stars 62 forks source link

Typo: SPServices.core.js (line 609 - OFFICIALFILE Operations) - too many parameters #89

Closed TBemrose closed 1 year ago

TBemrose commented 1 year ago

/src/core/SPServices.core.js (line 609) is passing 7 parameters 609 utils.addToPayload(opt, SOAPEnvelope, ["fileToSubmit"], ["properties"], ["recordRouting"], ["sourceUrl"], ["userName"]);

/src/core/SPServices.utils.js (line 216) requires 3 parameters, the 3rd being an array 216 addToPayload: function(opt, SOAPEnvelope, paramArray) {

sympmarc commented 1 year ago

It's been a long time since anyone commented here! This project is basically as-is. I had planned a v2, but never finished it.

It seems like the 5 params should be passed as an array.