Add a complex test with many users

This commit is contained in:
David Dworken
2022-09-22 21:45:20 -07:00
parent c6d4f1ef68
commit c18c2502cc
2 changed files with 117 additions and 2 deletions

View File

@ -131,7 +131,7 @@ func apiQueryHandler(w http.ResponseWriter, r *http.Request) {
if result.Error != nil {
panic(fmt.Errorf("DB query error: %v", result.Error))
}
fmt.Printf("apiQueryHandler: Found %d entries\n", len(historyEntries))
fmt.Printf("apiQueryHandler: Found %d entries for %s\n", len(historyEntries), r.URL)
resp, err := json.Marshal(historyEntries)
if err != nil {
panic(err)