diff options
author | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2017-11-06 15:08:24 +0100 |
---|---|---|
committer | Grégoire Aubert <gregoire.aubert@sonarsource.com> | 2017-11-24 17:22:33 +0100 |
commit | 51c76205777a9a05783c781bad8c66e3eadef163 (patch) | |
tree | 6db22defc2e4ed13873d73864d949b359ed0300a /server/sonar-web/src/main/js/apps/settings/store | |
parent | 8fcb4a1344fb818c6c60d25e8f7c52eb12a77288 (diff) | |
download | sonarqube-51c76205777a9a05783c781bad8c66e3eadef163.tar.gz sonarqube-51c76205777a9a05783c781bad8c66e3eadef163.zip |
Move 'parseError' to request lib
Diffstat (limited to 'server/sonar-web/src/main/js/apps/settings/store')
-rw-r--r-- | server/sonar-web/src/main/js/apps/settings/store/actions.js | 2 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/apps/settings/store/encryptionPage/actions.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/settings/store/actions.js b/server/sonar-web/src/main/js/apps/settings/store/actions.js index 1e61966af34..6b8a6d9cdc0 100644 --- a/server/sonar-web/src/main/js/apps/settings/store/actions.js +++ b/server/sonar-web/src/main/js/apps/settings/store/actions.js @@ -26,7 +26,7 @@ import { import { receiveValues } from './values/actions'; import { receiveDefinitions } from './definitions/actions'; import { startLoading, stopLoading } from './settingsPage/loading/actions'; -import { parseError } from '../../code/utils'; +import { parseError } from '../../../helpers/request'; import { addGlobalErrorMessage, closeAllGlobalMessages } from '../../../store/globalMessages/duck'; import { passValidation, failValidation } from './settingsPage/validationMessages/actions'; import { cancelChange } from './settingsPage/changedValues/actions'; diff --git a/server/sonar-web/src/main/js/apps/settings/store/encryptionPage/actions.js b/server/sonar-web/src/main/js/apps/settings/store/encryptionPage/actions.js index 3c9ee71d934..0afb176767a 100644 --- a/server/sonar-web/src/main/js/apps/settings/store/encryptionPage/actions.js +++ b/server/sonar-web/src/main/js/apps/settings/store/encryptionPage/actions.js @@ -18,7 +18,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import * as api from '../../../../api/settings'; -import { parseError } from '../../../code/utils'; +import { parseError } from '../../../../helpers/request'; import { addGlobalErrorMessage, closeAllGlobalMessages |