Fix v1.1.0: Analytics, Sessions, and Error Handling Improvements

This commit is contained in:
nate@necloud.us committed 2025-08-13 19:02:55 -04:00
1 parent 7d8470df84
commit 545cf4c8dc
200 files changed
+91013 -18521

No files matched your search

+4
View File
@@ -1,5 +1,7 @@
// Gamification API endpoints for the Spelling Practice App
module.exports = function(app, DATA_DIR, files, readJsonSafe, isToday, isSameDay) {
// 🏆 Get leaderboards
app.get('/getLeaderboards', (req, res) => {
try {
@@ -468,3 +470,5 @@ function checkStreakAchievements(username, currentStreak) {
console.error('Error checking streak achievements:', error);
}
}
}; // Close the module.exports function