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);