Skip to content

Commit 8076cf5

Browse files
committed
Refactor statistics endpoints for simplicity
The previous version of these statistics endpoints featured code that was overly complex for the task at hand. This change refactors statistics code in a way that slightly increases duplicated code (mostly API decorators) while decreasing the complexity of shared functions and logic switches. The result is much clearer and concise endpoints for existing routes.
1 parent f55d8d4 commit 8076cf5

File tree

2 files changed

+357
-284
lines changed

2 files changed

+357
-284
lines changed

0 commit comments

Comments
 (0)