From d9499fe5d0cc55b182d1c660a60e7160d3ee13a3 Mon Sep 17 00:00:00 2001 From: Anastasiia Date: Mon, 15 Apr 2024 11:13:37 +0300 Subject: [PATCH] MSP-3173 add sessionServiceApi in store --- src/stores/index.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/stores/index.tsx b/src/stores/index.tsx index 7ab020d..2e37302 100644 --- a/src/stores/index.tsx +++ b/src/stores/index.tsx @@ -3,6 +3,7 @@ import { theme } from 'antd' import { MapToken, SeedToken } from 'antd/es/theme/interface' import { createContext, Dispatch, SetStateAction } from 'react' +import sessionServiceApi from '@services/sessionService.ts' import accessListApi from '@services/accessListService.ts' import appApi from '@services/appService.ts' import roleApi from '@services/roleService.ts' @@ -26,6 +27,7 @@ const rootReducer = combineReducers({ profileReducer, [roleApi.reducerPath]: roleApi.reducer, [userServiceApi.reducerPath]: userServiceApi.reducer, + [sessionServiceApi.reducerPath]: sessionServiceApi.reducer, [securityLogServiceApi.reducerPath]: securityLogServiceApi.reducer, [appApi.reducerPath]: appApi.reducer, [accessListApi.reducerPath]: accessListApi.reducer, @@ -43,7 +45,8 @@ export const setupStore = () => appApi.middleware, accessListApi.middleware, routeApi.middleware, - userServiceApi.middleware + userServiceApi.middleware, + sessionServiceApi.middleware ) })