notifications

This commit is contained in:
Abin Toppo
2025-10-06 10:35:30 +05:30
parent a4fb2fe269
commit bcbad282b0
15 changed files with 1234 additions and 24 deletions
+3 -3
View File
@@ -58,7 +58,7 @@ const RequestList: React.FC = () => {
setError(null);
const response = await fetch(
"http://192.168.1.9:9060/api/fund/group/pending/request",
"https://api.godemo.in/FundCollect/api/fund/group/pending/request",
{
method: "GET",
headers: {
@@ -124,7 +124,7 @@ const RequestList: React.FC = () => {
// Make API call to approve the request
const response = await fetch(
`http://192.168.1.9:9060/api/fund/requests/${requestId}/approve`,
`https://api.godemo.in/FundCollect/api/fund/requests/${requestId}/approve`,
{
method: "PUT",
headers: {
@@ -170,7 +170,7 @@ const RequestList: React.FC = () => {
// Make API call to decline the request
const response = await fetch(
`http://192.168.1.9:9060/api/fund/requests/${requestedId}/reject?reason=/${reason}`,
`https://api.godemo.in/FundCollect/api/fund/requests/${requestedId}/reject?reason=/${reason}`,
{
method: "PUT",
headers: {