koopjs / koop-core

Core library for KoopJS (deprecated)
Other
16 stars 19 forks source link

changed middleware to prefer query token #147

Closed mkdir-ito closed 2 years ago

mkdir-ito commented 2 years ago

This was done to prevent issues with the proxies AGOL use. During item creation the correct token will be sent in the url query but not in the body. The middleware that appends all body parameters to the query then overwrites the correct token with the incorrect token preventing the add item process from working correctly.