chore: use more standard golangci-lint options

This commit is contained in:
Henrique Dias committed 2025-11-14 16:18:12 +01:00
1 parent 0d973d3aad
commit 9d44932dba
8 files changed
+15 -138

No files matched your search

+2 -2
View File
@@ -98,8 +98,8 @@ var publicShareHandler = withHashFile(func(w http.ResponseWriter, r *http.Reques
file := d.raw.(*files.FileInfo)
if file.IsDir {
file.Listing.Sorting = files.Sorting{By: "name", Asc: false}
file.Listing.ApplySort()
file.Sorting = files.Sorting{By: "name", Asc: false}
file.ApplySort()
return renderJSON(w, r, file)
}