mirror of
https://github.com/verdigado/organization_folders.git
synced 2024-12-06 11:22:41 +01:00
improved organization folder service: added function to find by id, return model entity after creation, added function to remove
This commit is contained in:
parent
79a1c1e9f3
commit
9487ddc910
3 changed files with 45 additions and 5 deletions
|
@ -4,6 +4,6 @@ namespace OCA\OrganizationFolders\Errors;
|
|||
|
||||
class OrganizationNotFound extends NotFoundException {
|
||||
public function __construct($provider, $id) {
|
||||
parent::__construct(OCA\OrganizationFolders\Model\Organization::class, ["provider" => $provider, "id" => $id]);
|
||||
parent::__construct(\OCA\OrganizationFolders\Model\Organization::class, ["provider" => $provider, "id" => $id]);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue