adding in gg endpoints and basic methods

This commit is contained in:
2021-12-02 12:50:05 +00:00
parent 12db998d3b
commit aaa1087d6b
7 changed files with 251 additions and 25 deletions
+17
View File
@@ -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;
}
}