Compare commits

..

3 Commits

Author SHA1 Message Date
Dan Brown
0e2bbcec62 Updated version and assets for release v0.27.3 2019-09-03 21:50:12 +01:00
Dan Brown
fdd339f525 Merge branch 'master' into release 2019-09-03 21:49:46 +01:00
Dan Brown
16d8a667b1 Fixed issue preventing FormData posting correctly
- Due to migration from Axios, Instances where we were sending FormData
were not considered and always converted to JSON which resulted in empty
JSON bodies.

Related to #1621
2019-09-03 21:46:46 +01:00
3 changed files with 3 additions and 3 deletions

2
public/dist/app.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -67,7 +67,7 @@ async function dataRequest(method, url, data = null) {
body: data,
};
if (typeof data === 'object') {
if (typeof data === 'object' && !(data instanceof FormData)) {
options.headers = {'Content-Type': 'application/json'};
options.body = JSON.stringify(data);
}

View File

@@ -1 +1 @@
v0.27.2
v0.27.3