Skip to content
Snippets Groups Projects
Commit dd86e286 authored by Pavel's avatar Pavel
Browse files

fix product creation from hits

parent 0608997c
No related branches found
No related tags found
No related merge requests found
......@@ -148,8 +148,8 @@ final class EsResponseToResult
}
$id = $data['data']['id'];
$title = $data['title'] ?? '';
$info = $data['data'] ?? [];
$title = $data['data']['title'] ?? '';
$info = $data;
return new Product($id, $title, $info);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment