mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-16 06:08:33 -05:00
[PR #2114] [CLOSED] fix(analytics): query latest 7 days #17905
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fosrl/pangolin/pull/2114
Author: @depado
Created: 12/18/2025
Status: ❌ Closed
Base:
dev← Head:fix-analytics-filtering📝 Commits (1)
a013b5afix(analytics): query latest 7 days📊 Changes
1 file changed (+0 additions, -2 deletions)
View changed files
📝
server/routers/auditLogs/queryRequestAnalytics.ts(+0 -2)📄 Description
Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Description
Possible fix for default analytics endpoint not returning the correct data as shown in #2113
.optional()being placed before.prefault()in the Zod schema is causing it to short-circuit and returnundefinedinstead of applying default values (or at least that's my understanding if it)I'm not sure this fix actually solves the issue and I don't have enough data locally to test this. Feel free to discard my pull request if I went in the wrong direction or request changes if needed.
Also this issue might be present in other files but I focused on the analytics one, let me know if you want me to fix the other files in the same PR.
Also thanks for the great product!
fixes #2113
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.