From 3caf02f3f7f62a19c82a29e65d21d8126d2411e8 Mon Sep 17 00:00:00 2001 From: Patrick Fic <> Date: Fri, 26 Feb 2021 08:45:31 -0800 Subject: [PATCH] Removed cost center from tech login. IO-699 --- client/src/redux/store.js | 7 ++++++- server/graphql-client/queries.js | 1 - 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/client/src/redux/store.js b/client/src/redux/store.js index 30d325108..c60519c05 100644 --- a/client/src/redux/store.js +++ b/client/src/redux/store.js @@ -9,7 +9,11 @@ import { import rootReducer from "./root.reducer"; import rootSaga from "./root.saga"; +import * as Sentry from "@sentry/react"; +const sentryReduxEnhancer = Sentry.createReduxEnhancer({ + // Optionally pass options +}); const sagaMiddleWare = createSagaMiddleware(); const reduxSyncConfig = { @@ -32,7 +36,8 @@ const composeEnhancers = : compose; const enhancer = composeEnhancers( - applyMiddleware(...middlewares) + applyMiddleware(...middlewares), + sentryReduxEnhancer // other store enhancers if any ); diff --git a/server/graphql-client/queries.js b/server/graphql-client/queries.js index 275c87613..c1fd19819 100644 --- a/server/graphql-client/queries.js +++ b/server/graphql-client/queries.js @@ -252,7 +252,6 @@ exports.QUERY_EMPLOYEE_PIN = `query QUERY_EMPLOYEE_PIN($shopId: uuid!, $employee first_name employee_number id - cost_center pin } }`;