fix typo
This commit is contained in:
parent
e0ea3607e2
commit
a10d9fb663
@ -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…
x
Reference in New Issue
Block a user