diff --git a/package-lock.json b/package-lock.json index 0e073458..39f46eba 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "ajv": "^8.11.2", "antd": "^5.0.4", "array-move": "^4.0.0", - "axios": "^1.2.0", + "axios": "^1.2.1", "bootstrap": "^4.5.3", "brace": "^0.11.1", "core-js": "^3.26.1", @@ -5124,9 +5124,9 @@ } }, "node_modules/axios": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.2.0.tgz", - "integrity": "sha512-zT7wZyNYu3N5Bu0wuZ6QccIf93Qk1eV8LOewxgjOZFd2DenOs98cJ7+Y6703d0wkaXGY6/nZd4EweJaHz9uzQw==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.2.1.tgz", + "integrity": "sha512-I88cFiGu9ryt/tfVEi4kX2SITsvDddTajXTOFmt2uK1ZVA8LytjtdeyefdQWEf5PU8w+4SSJDoYnggflB5tW4A==", "dependencies": { "follow-redirects": "^1.15.0", "form-data": "^4.0.0", @@ -33221,9 +33221,9 @@ "integrity": "sha512-32+ub6kkdhhWick/UjvEwRchgoetXqTK14INLqbGm5U2TzBkBNF3nQtLYm8ovxSkQWArjEQvftCKryjZaATu3w==" }, "axios": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.2.0.tgz", - "integrity": "sha512-zT7wZyNYu3N5Bu0wuZ6QccIf93Qk1eV8LOewxgjOZFd2DenOs98cJ7+Y6703d0wkaXGY6/nZd4EweJaHz9uzQw==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.2.1.tgz", + "integrity": "sha512-I88cFiGu9ryt/tfVEi4kX2SITsvDddTajXTOFmt2uK1ZVA8LytjtdeyefdQWEf5PU8w+4SSJDoYnggflB5tW4A==", "requires": { "follow-redirects": "^1.15.0", "form-data": "^4.0.0", diff --git a/package.json b/package.json index af05385b..d2b93f99 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "ajv": "^8.11.2", "antd": "^5.0.4", "array-move": "^4.0.0", - "axios": "^1.2.0", + "axios": "^1.2.1", "bootstrap": "^4.5.3", "brace": "^0.11.1", "core-js": "^3.26.1", diff --git a/src/views/outbound/RequestBuilder.jsx b/src/views/outbound/RequestBuilder.jsx index d0a5cb1a..f47a62ba 100644 --- a/src/views/outbound/RequestBuilder.jsx +++ b/src/views/outbound/RequestBuilder.jsx @@ -1460,7 +1460,10 @@ class RequestBuilder extends React.Component { // } else { // delete this.props.request.params // } - this.headerBodyBuilderRef.current.updateBodyChanges(); + // https://github.com/mojaloop/project/issues/3031 + // Commenting this out since it's likely that this is causing issues + // with the JSON editor + // this.headerBodyBuilderRef.current.updateBodyChanges(); this.props.onChange(this.props.request); };