fixed brand name

This commit is contained in:
Edward Yang 2022-08-15 13:52:46 +08:00
parent 4027bb3631
commit 20fbf8109d
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ class BrandRepo
}
$items = [];
$brands = self::getBuilder()->select('id')->get();
$brands = self::getBuilder()->select(['id', 'name'])->get();
foreach ($brands as $brand) {
$items[$brand->id] = [
'id' => $brand->id,