Skip to content

Commit

Permalink
Merge pull request RedHatInsights#230 from Hyperkid123/fix-403-portfolio
Browse files Browse the repository at this point in the history
Fix 403 response for portfolios.
  • Loading branch information
lgalis authored Jul 16, 2019
2 parents dab0271 + a42e886 commit 390e1a3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"@redhat-cloud-services/approval-client": "^1.0.4",
"@redhat-cloud-services/catalog-client": "^1.0.20",
"@redhat-cloud-services/frontend-components": "0.0.7",
"@redhat-cloud-services/frontend-components-notifications": "0.0.5",
"@redhat-cloud-services/frontend-components-notifications": "0.0.6",
"@redhat-cloud-services/frontend-components-utilities": "0.0.7",
"@redhat-cloud-services/rbac-client": "^1.0.12",
"@redhat-cloud-services/sources-client": "^1.0.11",
Expand Down
2 changes: 1 addition & 1 deletion src/utilities/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import loadingStateMiddleware from './loading-state-middleware';

const registry = new ReducerRegistry({}, [ thunk, promiseMiddleware(), notificationsMiddleware({
errorTitleKey: [ 'errors', 'message', 'statusText' ],
errorDescriptionKey: [ 'data.message', 'response.body.errors', 'errors', 'data', 'stack' ]
errorDescriptionKey: [ 'data.error', 'data.message', 'response.body.errors', 'errors', 'data', 'stack' ]
}), loadingStateMiddleware, reduxLogger ]);
registry.register({
orderReducer: applyReducerHash(orderReducer, orderInitialState),
Expand Down

0 comments on commit 390e1a3

Please sign in to comment.