Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Commit

Permalink
Mention #26
Browse files Browse the repository at this point in the history
  • Loading branch information
michielbdejong committed Sep 24, 2021
1 parent d9ced05 commit 8c144e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Controller/RevaController.php
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,9 @@ public function ListFolder($userId) {
} else {
$nodeInfos = $this->filesystem->listContents($path);
}
// FIXME: https://github.com/pondersource/nc-sciencemesh/issues/26
// It seems that if the folder is not found, then NextcloudAdapter
// returns [] and not false?
if ($nodeInfos !== false) {
$resourceInfos = array_map(function($nodeInfo) {
return $this->nodeInfoToCS3ResourceInfo($nodeInfo);
Expand Down

0 comments on commit 8c144e1

Please sign in to comment.