chore: use more standard golangci-lint options

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

View File

@@ -37,8 +37,8 @@ var resourceGetHandler = withUser(func(w http.ResponseWriter, r *http.Request, d
}
if file.IsDir {
file.Listing.Sorting = d.user.Sorting
file.Listing.ApplySort()
file.Sorting = d.user.Sorting
file.ApplySort()
return renderJSON(w, r, file)
}