From b929d5513a0ef3581f8e10c19748a6de3783d931 Mon Sep 17 00:00:00 2001 From: Shengjie Yan Date: Sat, 17 Nov 2018 18:12:06 +0800 Subject: [PATCH] Update CatalogItem.cs A small spelling mistake. --- src/Services/Catalog/Catalog.API/Model/CatalogItem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Services/Catalog/Catalog.API/Model/CatalogItem.cs b/src/Services/Catalog/Catalog.API/Model/CatalogItem.cs index 459c60098..8855ba9fb 100644 --- a/src/Services/Catalog/Catalog.API/Model/CatalogItem.cs +++ b/src/Services/Catalog/Catalog.API/Model/CatalogItem.cs @@ -64,7 +64,7 @@ namespace Microsoft.eShopOnContainers.Services.Catalog.API.Model if (quantityDesired <= 0) { - throw new CatalogDomainException($"Item units desired should be greater than cero"); + throw new CatalogDomainException($"Item units desired should be greater than zero"); } int removed = Math.Min(quantityDesired, this.AvailableStock); @@ -100,4 +100,4 @@ namespace Microsoft.eShopOnContainers.Services.Catalog.API.Model return this.AvailableStock - original; } } -} \ No newline at end of file +}