Updated .gitignore and added TODO in AdafruitShop.

This commit is contained in:
Harrison Deng 2021-08-11 00:35:58 -05:00
parent 0b507b90a1
commit ff080390f8
2 changed files with 6 additions and 1 deletions

6
.gitignore vendored
View File

@ -447,4 +447,8 @@ Thumbs.db
.history .history
.ionide .ionide
# End of https://www.toptal.com/developers/gitignore/api/aspnetcore,visualstudiocode,dotnetcore,python,database # End of https://www.toptal.com/developers/gitignore/api/aspnetcore,visualstudiocode,dotnetcore,python,database
# Props
shop-data

View File

@ -24,6 +24,7 @@ namespace Props.Shop.Adafruit.Api
public async IAsyncEnumerable<ProductListing> Search(string query) public async IAsyncEnumerable<ProductListing> Search(string query)
{ {
// TODO: Implement indexed search.
if (ProductListingManager.ProductListings == null) { if (ProductListingManager.ProductListings == null) {
ProductListingManager.RefreshProductListings(); ProductListingManager.RefreshProductListings();
} }