Skip to content

Commit

Permalink
Remove invalid price error message in pre-shop creation
Browse files Browse the repository at this point in the history
This commit removes the error message indicating an invalid price from the pre-shop creation process. This isn't needed anymore, as price validation has now been handled elsewhere, reducing redundancy of error messages.
  • Loading branch information
Feli499 committed Dec 31, 2023
1 parent 99d832c commit ebb478d
Showing 1 changed file with 0 additions and 2 deletions.
Expand Up @@ -24,8 +24,6 @@ public static void onPreShopCreation(PreShopCreationEvent event) {
message = Messages.INCORRECT_ITEM_ID;
break;
case INVALID_PRICE:
message = Messages.INVALID_SHOP_DETECTED;
break;
case INVALID_QUANTITY:
message = Messages.INVALID_SHOP_DETECTED;
break;
Expand Down

0 comments on commit ebb478d

Please sign in to comment.