0
0
Fork 0
mirror of https://github.com/verdigado/organization_folders.git synced 2024-12-06 11:22:41 +01:00

Added dav plugin to be able to query organizationId and resourceId of filesystem node from frontend

This commit is contained in:
Jonathan Treffler 2024-11-05 17:40:32 +01:00
parent dc10742476
commit f7b3b2f255
5 changed files with 116 additions and 2 deletions

View file

@ -55,6 +55,11 @@ class ResourceService {
}
}
public function findByFileId(int $fileId): FolderResource {
// TODO: improve error handling
return $this->mapper->findByFileId($fileId);
}
/* Use named arguments to call this function */
public function create(
string $type,