Skip to content

Commit

Permalink
Update reducer.js
Browse files Browse the repository at this point in the history
_oracle service has graduated; so switching the name of the endpoint (todo: move this to the api_targets; we should keep the targets in one place)
  • Loading branch information
romanchyla committed Nov 24, 2020
1 parent 172aa82 commit 62aed10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/react/Recommender/reducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ define(['redux', './actions'], function(
return state;
};

const oracleTargetState = '_oracle/readhist';
const oracleTargetState = 'oracle/readhist';
const oracleTarget = (state = oracleTargetState, action) => {
if (action.type === SET_ORACLE_TARGET && action.payload) {
return action.payload;
Expand Down

0 comments on commit 62aed10

Please sign in to comment.