- Bugfixes, still a WIP, but mostly functionnal now !
This commit is contained in:
1 parent
7e93e57515
commit
30f8d319bf
5 files changed
+29
-8
No files matched your search
@@ -47,7 +47,7 @@ class ApiRepository extends \Ulmus\Repository
|
||||
|
||||
public function save(object|array $entity, ?array $fieldsAndValue = null, bool $replace = false): bool
|
||||
{
|
||||
$response = $this->executeRequest(Attribute\Obj\Api\Create::class, $entity->entityLoadedDataset);
|
||||
$response = $this->executeRequest(Attribute\Obj\Api\Create::class, $entity->entityGetDataset());
|
||||
|
||||
$entity->fromArray($response->getParsedBody());
|
||||
|
||||
|
||||
Reference in new issue
Block a user