This commit is contained in:
omkieit 2024-10-25 11:26:04 +05:30
parent cf9c4d44cf
commit 7235883646
3 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -45,7 +45,7 @@
<script type="module" crossorigin src="/assets/index-CVyH-t6Z.js"></script>
<script type="module" crossorigin src="/assets/index-CkItAeVW.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-iEl-il0E.css">
</head>

View File

@ -88,7 +88,7 @@ export const deleteFundDetail = createAsyncThunk(
// console.log("Token received:", token, fundDetailId, id);
try {
const response = await axios.delete(
`http://localhost:3002/properties/${id}/fund-details/${fundDetailId}`,
`${import.meta.env.VITE_REACT_APP_SECRET}/properties/${id}/fund-details/${fundDetailId}`,
{
headers: {
Authorization: `Bearer ${token}`, // Use the token passed in as a parameter