Skip to content
Snippets Groups Projects
Verified Commit a9ceec32 authored by Spotlight Deveaux's avatar Spotlight Deveaux :fox:
Browse files

Fix mistaken filter

We filter out non-file/link types by default. However, the check mistakenly filtered out all files by default.
parent 8b06b9b2
No related branches found
No related tags found
No related merge requests found
......@@ -224,7 +224,7 @@ func ListObjectsByAssociatedUser(userID string, typ int, asc bool, offset, limit
order = "ASC"
}
typeFilter := "!= 0"
typeFilter := "!= 2"
if typ != -1 {
typeFilter = fmt.Sprintf("= %v", typ)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment