Sync bodyParams and rawBodyParams (#1562)

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
Co-authored-by: Joel DSouza <joel.dsouza@kapturecrm.com>
This commit is contained in:
Joel D Souza
2021-04-10 13:33:37 +05:30
committed by GitHub
parent db45f08905
commit f6db530de2
3 changed files with 64 additions and 16 deletions

View File

@@ -107,6 +107,10 @@ export default {
request.bodyParams[index].value = value
},
setBodyParams({request},{params}){
request.bodyParams = params
},
// While this mutation is same as the setValueBodyParams above, it is excluded
// from vuex-persist. We will commit this mutation while adding a file
// param as there is no way to serialize File objects and thus we cannot