Skip to content

Commit

Permalink
Removed config references for the time being from health slice.
Browse files Browse the repository at this point in the history
  • Loading branch information
anilnatha committed Jul 30, 2024
1 parent 821b77c commit dac46f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/state/slices/healthSlice.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import axios, { AxiosRequestConfig } from 'axios';
import { createSlice, createAsyncThunk } from "@reduxjs/toolkit";
//import Config from "../../Config";

enum HEALTH_ACTIONS {
GET_HEALTH = "health/getHealth",
Expand Down Expand Up @@ -41,6 +42,7 @@ export const getHealthData = createAsyncThunk(
// health JSON
const basePath = Config['general']['base_path'];
const url = basePath + "/data/health.json"
//const url = Config['cs']['health_endpoint'];

const config:AxiosRequestConfig = {
headers: {
Expand Down

0 comments on commit dac46f9

Please sign in to comment.