diff --git a/GeoffreyApp/api/commands.py b/GeoffreyApp/api/commands.py index dec2ada..0249177 100644 --- a/GeoffreyApp/api/commands.py +++ b/GeoffreyApp/api/commands.py @@ -722,7 +722,7 @@ def restock(item_name, shop_name=None, discord_uuid=None, mc_uuid=None): owner = get_player(discord_uuid, mc_uuid) shop = get_location(owner, shop_name, Shop) - items = ItemListing.objects.filter(item_name__iexact=item_name, shop=shop).all() + items = ItemListing.objects.filter(item_name__iregex=item_name, shop=shop).all() if len(items) == 0: raise ItemNotFound