Browse Source

Update CatalogItem.cs

A small spelling mistake.
pull/855/head
Shengjie Yan 6 years ago
committed by GitHub
parent
commit
b929d5513a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/Services/Catalog/Catalog.API/Model/CatalogItem.cs

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

@ -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;
}
}
}
}

Loading…
Cancel
Save