Export user

This commit is contained in:
Henrique Dias committed 2017-06-25 15:24:16 +01:00
1 parent 70c00db16b
commit 3ac186305d
10 files changed
+35 -33

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ import (
// serveSingle serves a single file in an editor (if it is editable), shows the
// plain file, or downloads it if it can't be shown.
func serveSingle(w http.ResponseWriter, r *http.Request, c *FileManager, u *user, i *fileInfo) (int, error) {
func serveSingle(w http.ResponseWriter, r *http.Request, c *FileManager, u *User, i *fileInfo) (int, error) {
var err error
if err = i.RetrieveFileType(); err != nil {