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

reference organization folder by id not groupfolder id (same id, different nomenclature)

This commit is contained in:
Jonathan Treffler 2024-10-30 01:49:41 +01:00
parent efca199c7f
commit 949e1a42d1
5 changed files with 15 additions and 11 deletions

View file

@ -19,7 +19,7 @@ class FolderResource extends Resource {
$instance->setId($row["id"]);
$instance->setParentResource($row["parent_resource"]);
$instance->setGroupFolderId($row["group_folder_id"]);
$instance->setOrganizationFolderId($row["organization_folder_id"]);
$instance->setName($row["name"]);
$instance->setActive($row["active"]);
$instance->setLastUpdatedTimestamp($row["last_updated_timestamp"]);
@ -36,7 +36,7 @@ class FolderResource extends Resource {
return [
'id' => $this->id,
'parentResource' => $this->parentResource,
'groupFolderId' => $this->groupFolderId,
'organizationFolderId' => $this->organizationFolderId,
'type' => "folder",
'name' => $this->name,
'active' => $this->active,