done
This commit is contained in:
parent
cf9c4d44cf
commit
7235883646
File diff suppressed because one or more lines are too long
|
@ -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">
|
<link rel="stylesheet" crossorigin href="/assets/index-iEl-il0E.css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
|
@ -88,7 +88,7 @@ export const deleteFundDetail = createAsyncThunk(
|
||||||
// console.log("Token received:", token, fundDetailId, id);
|
// console.log("Token received:", token, fundDetailId, id);
|
||||||
try {
|
try {
|
||||||
const response = await axios.delete(
|
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: {
|
headers: {
|
||||||
Authorization: `Bearer ${token}`, // Use the token passed in as a parameter
|
Authorization: `Bearer ${token}`, // Use the token passed in as a parameter
|
||||||
|
|
Loading…
Reference in New Issue