We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f44f363 commit 32a9fbeCopy full SHA for 32a9fbe
src/Endpoint/Update.php
@@ -58,7 +58,10 @@ public function handle(Context $context): ResponseInterface
58
59
run_callbacks($schema->getListeners('updated'), [&$this->model, $context]);
60
61
- return (new Show($this->api, $this->resource, $this->model))
+ $adapter = $this->resource->getAdapter();
62
+ $freshModel = $this->findResource($this->resource, $adapter->getId($this->model), $context);
63
+
64
+ return (new Show($this->api, $this->resource, $freshModel))
65
->handle($context);
66
}
67
0 commit comments