removed profile image from the explore reult struct

This commit is contained in:
2023-06-10 09:07:09 +01:00
parent a6f2282d70
commit 9499f7ae92
6 changed files with 156 additions and 126 deletions

View File

@@ -390,7 +390,11 @@ func (api *WebapiInstance) ExploreHelper(fileType int, limit, offset int, nodeID
// loop over results
for n := range resultFiles {
result.Files = append(result.Files, blockRecordFileToAPI(resultFiles[n]))
ApiFile := blockRecordFileToAPI(resultFiles[n])
if ApiFile.NodeID == nil {
continue
}
result.Files = append(result.Files, ApiFile)
}
if len(result.Files) == 0 {