mirror of https://github.com/status-im/fathom.git
Remove stray fmt.Print call from screens API endpoint
This commit is contained in:
parent
e7cca8ee72
commit
04a8f09e5e
|
@ -2,7 +2,6 @@ package api
|
|||
|
||||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"net/http"
|
||||
|
||||
"github.com/dannyvankooten/ana/count"
|
||||
|
@ -15,8 +14,6 @@ var GetScreenResolutionsHandler = http.HandlerFunc(func(w http.ResponseWriter, r
|
|||
// get total
|
||||
total := count.Visitors(before, after)
|
||||
|
||||
fmt.Printf("Total # of visitors: %d\n", total)
|
||||
|
||||
// get rows
|
||||
results := count.Screens(before, after, getRequestedLimit(r), total)
|
||||
|
||||
|
|
Loading…
Reference in New Issue