update subscription algorithm

This commit is contained in:
root
2026-05-25 03:12:19 -04:00
parent 95376d3223
commit c9cbe479aa
42 changed files with 3098 additions and 307 deletions
@@ -34,7 +34,7 @@ export default function AdminAuditLogsPage() {
cache: 'no-store',
})
.then((r) => r.json())
.then((json) => setLogs(json.data ?? []))
.then((json) => setLogs(Array.isArray(json.data) ? json.data : (json.data?.data ?? [])))
.catch((err) => setError(err.message))
.finally(() => setLoading(false))
}, [])