Skip to content

Commit 83c0d00

Browse files
committed
Fix duplicate base url
1 parent 1c0e96d commit 83c0d00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/Models/ValueObjects/MenuItem.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public static function fromMenuCocktail(MenuCocktail $menuCocktail): self
3737
categoryName: $menuCocktail->category_name,
3838
description: $menuCocktail->cocktail->getIngredientNames()->implode(', '),
3939
publicId: $menuCocktail->cocktail->public_id,
40-
image: $thumbnail ? config('app.url') . $thumbnail : null,
40+
image: $thumbnail,
4141
inShelf: $menuCocktail->cocktail->inBarShelf(),
4242
);
4343
}
@@ -55,7 +55,7 @@ public static function fromMenuIngredient(MenuIngredient $menuIngredient): self
5555
categoryName: $menuIngredient->category_name,
5656
description: $menuIngredient->ingredient->getMaterializedPathAsString(),
5757
publicId: null,
58-
image: $thumbnail ? config('app.url') . $thumbnail : null,
58+
image: $thumbnail,
5959
inShelf: $menuIngredient->ingredient->barHasInShelf(),
6060
);
6161
}

0 commit comments

Comments
 (0)