Skip to content

Commit c3eb4c8

Browse files
committed
fix: extract deliveries array from response data in Webhooks page
1 parent da4ce51 commit c3eb4c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/web-dashboard/src/pages/Webhooks.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ export default function Webhooks() {
203203
setDeliveries([]);
204204
try {
205205
const res = await api.get(`/api/projects/${projectId}/webhooks/${webhook._id}/deliveries?limit=50`);
206-
setDeliveries(res.data.data || []);
206+
setDeliveries(res.data.data?.deliveries || []);
207207
} catch {
208208
toast.error('Failed to load delivery history');
209209
} finally {

0 commit comments

Comments
 (0)