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:
parent
dc10742476
commit
f7b3b2f255
5 changed files with 116 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue