Removed proxy and added api calls, has gov gateway auth
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { govGatweayActionTypes } from "./action";
|
||||
|
||||
const govGatewayConfigInitialState = {
|
||||
config: {},
|
||||
};
|
||||
|
||||
export default function reducer(state = govGatewayConfigInitialState, action) {
|
||||
switch (action.type) {
|
||||
case govGatweayActionTypes.GETPROVIDERCONFIG:
|
||||
return {
|
||||
...state,
|
||||
config: action.config,
|
||||
};
|
||||
default:
|
||||
return state;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user