This commit is contained in:
2020-03-05 20:05:05 +00:00
parent 59e6b971e2
commit 9deb0d066c
2 changed files with 16 additions and 55 deletions

View File

@@ -134,6 +134,10 @@ export default {
}
},
json(response) {
if (response.status == 204) {
//no content, nothing to process
return response;
}
return response.json();
},
apiErrorToHumanString(apiError) {