Browse Source

Update src/PublicApi/CatalogItemEndpoints/Create.cs

Co-authored-by: David Pine <david.pine@microsoft.com>
main
Sumit Ghosh 5 years ago
committed by GitHub
parent
commit
c29001aae3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/PublicApi/CatalogItemEndpoints/Create.cs

3
src/PublicApi/CatalogItemEndpoints/Create.cs

@ -49,8 +49,7 @@ namespace Microsoft.eShopWeb.PublicApi.CatalogItemEndpoints
// - BlazorAdmin project -> Create.razor and Edit.razor.
// - Infrastructure project -> Services/WebFileSystem.cs
var picName = "eCatalog-item-default.png";
newItem.UpdatePictureUri(picName);
newItem.UpdatePictureUri("eCatalog-item-default.png");
await _itemRepository.UpdateAsync(newItem, cancellationToken);
}

Loading…
Cancel
Save