From 3a1c5a6fdfaf09e6b68c1c396235aac2acb1220d Mon Sep 17 00:00:00 2001 From: vivek kasture Date: Fri, 14 Jun 2024 20:20:54 +0530 Subject: [PATCH] Issue #PS-390 fix: FIxed response --- src/components/MarkBulkAttendance.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/MarkBulkAttendance.tsx b/src/components/MarkBulkAttendance.tsx index 7f39f8ec..1564a801 100644 --- a/src/components/MarkBulkAttendance.tsx +++ b/src/components/MarkBulkAttendance.tsx @@ -264,7 +264,7 @@ const MarkBulkAttendance: React.FC = ({ setLoading(true); try { const response = await bulkAttendance(data); - const resp = response?.data; + const resp = response?.responses; if (resp) { setShowUpdateButton(true);