update title
All checks were successful
cicd / ci (push) Successful in 50s

This commit is contained in:
Bel LaPointe
2024-07-22 07:16:25 -06:00
parent ce19c74cb0
commit e3c1af4f5d

View File

@@ -172,9 +172,9 @@ func (router Router) APITrends(w http.ResponseWriter, r *http.Request) {
}
}
pie("Median Spending", `Withdrawal:[0-9]*`, 50)
pie("Median Spending (detailed)", `Withdrawal:[0-9]*:[^:]*`, 25)
pie("Median Spending (MORE detailed)", `Withdrawal:[0-9]*:[^:]*:[^:]*`, 10)
pie(fmt.Sprintf("Median Monthly Spending Since %dmo ago", int(recent/time.Hour/24/30)), `Withdrawal:[0-9]*`, 50)
pie("Median Monthly Spending (detailed)", `Withdrawal:[0-9]*:[^:]*`, 25)
pie("Median Monthly Spending (MORE detailed)", `Withdrawal:[0-9]*:[^:]*:[^:]*`, 10)
}
func (router Router) APIAmend(w http.ResponseWriter, r *http.Request) {