Skip to content

Commit

Permalink
Fixing broken vertical config
Browse files Browse the repository at this point in the history
  • Loading branch information
goulven authored and goulven committed Dec 23, 2024
1 parent ebd0958 commit a66904e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ private void updateProductAttributes(Map<String, Object> body, Product data, Ver
String key = entry.getKey().trim().toUpperCase();
String value = entry.getValue().toString().trim();

if (entry.getValue() instanceof String) {
if (entry.getValue() instanceof String || entry.getValue() instanceof Integer || entry.getValue() instanceof Double || entry.getValue() instanceof Long) {


if (key.equalsIgnoreCase("inconnu")) {
Expand Down
2 changes: 1 addition & 1 deletion verticals/src/main/resources/verticals/_default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ attributesConfig:
all:
- "QTE DE PORTS HDMI"
- "QUANTITE DE PORTS HDMI"
- "HDMI_PORTS_QUANTITY""
- "HDMI_PORTS_QUANTITY"

parser:
normalize: true
Expand Down

0 comments on commit a66904e

Please sign in to comment.