Browse Source

fix typo in throw exception message

pull/764/head
Rafsanul Hasan 6 years ago
parent
commit
678d920e4f
No known key found for this signature in database GPG Key ID: FC57FD2D87BE60DD
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Services/Catalog/Catalog.API/Model/CatalogItem.cs

+ 1
- 1
src/Services/Catalog/Catalog.API/Model/CatalogItem.cs View File

@ -64,7 +64,7 @@ namespace Microsoft.eShopOnContainers.Services.Catalog.API.Model
if (quantityDesired <= 0) 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); int removed = Math.Min(quantityDesired, this.AvailableStock);


Loading…
Cancel
Save