You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the extend method, the whole query method (my customized options) are replaced by the 'default' ones ( the one with the 'csrfmiddlewaretoken')
Something that will fix it will be to recursively call extend if an object is found: and present in target:
// Customize extend function to avoid query params to be overwrittenDjangoResumable.prototype.extend=function(target,source){"use strict";varproperty;for(propertyinsource){if(source.hasOwnProperty(property)){if(target[property]!==undefined&&typeofsource[property]==='object'){target[property]=this.extend(target[property],source[property]);}else{target[property]=source[property];}}}returntarget;};
The text was updated successfully, but these errors were encountered:
I need to send in the POST (chunks) request 2 parameters.
If I initialize DjangoResumable like this:
the resumableOptions are overwritten during the initResumable:
In the extend method, the whole query method (my customized options) are replaced by the 'default' ones ( the one with the 'csrfmiddlewaretoken')
Something that will fix it will be to recursively call extend if an object is found: and present in target:
The text was updated successfully, but these errors were encountered: