Commit 89d0dc6
committed
Refactor getAttributeValueByAttributeId method to simplify selected fields
This commit updates the getAttributeValueByAttributeId method in the ListCategoryController to select only the 'id' and 'value' fields from the attribute values, removing the 'hex_color' field. This change streamlines the data retrieval process and improves performance by reducing the amount of data returned.1 parent 6ab0545 commit 89d0dc6
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
0 commit comments