fix admin panel events

This commit is contained in:
Emily
2024-06-10 03:12:25 +02:00
parent 81dd525025
commit 5a48ef53b4

View File

@@ -53,7 +53,7 @@ export default defineEventHandler(async event => {
$arrayElemAt: ["$counts.visits", 0] $arrayElemAt: ["$counts.visits", 0]
}, },
total_events: { total_events: {
$arrayElemAt: ["$counts.visits", 0] $arrayElemAt: ["$counts.events", 0]
} }
} }
} }