mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-14 06:09:33 +00:00
Rückgabewert ist schon ein Array deshalb kein toArray
This commit is contained in:
parent
7de735eb1e
commit
351078fb43
1 changed files with 1 additions and 3 deletions
|
|
@ -129,9 +129,7 @@ class BuerklinProvider implements InfoProviderInterface
|
|||
*/
|
||||
private function queryDetail(string $id): PartDetailDTO
|
||||
{
|
||||
$response = $this->makeAPICall('/products', ['sku' => $id]);
|
||||
|
||||
$arr = $response->toArray();
|
||||
$arr = $this->makeAPICall('/products', ['sku' => $id]);
|
||||
$product = $arr['result'] ?? null;
|
||||
|
||||
if ($product === null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue