Super secret view counting

This commit is contained in:
2019-02-11 22:41:22 +01:00
parent 95405e76d1
commit 32f715e65f
6 changed files with 8 additions and 9 deletions

View File

@@ -30,7 +30,7 @@ func (wc *WebController) serveFileViewer(w http.ResponseWriter, r *http.Request,
var api = pixelapi.New(wc.conf.APIURLInternal, "")
var finfo []*pixelapi.FileInfo
for _, id := range ids {
inf, err := api.GetFileInfo(id)
inf, err := api.GetFileInfo(id, "")
if err != nil {
continue
}