Skip to content

Commit

Permalink
readd counter
Browse files Browse the repository at this point in the history
  • Loading branch information
Akopti8 committed Jun 13, 2024
1 parent 07156c2 commit 9ef1910
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion blobstore/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,9 @@ func (bh *BlobHandler) HandleListByPrefixWithDetail(c echo.Context) error {
ModifiedBy: "",
}
results = append(results, dir)
count++
}
count++

}

for _, object := range page.Contents {
Expand All @@ -184,7 +185,9 @@ func (bh *BlobHandler) HandleListByPrefixWithDetail(c echo.Context) error {
ModifiedBy: "",
}
results = append(results, file)
count++
}

}
return nil
}
Expand Down

0 comments on commit 9ef1910

Please sign in to comment.