Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
neozhu committed Dec 14, 2024
1 parent 2329759 commit 4761739
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/CleanAspire.ClientApp/Client/.kiota/workspace.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"version": "1.0.0",
"clients": {},
"plugins": {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ public class ProductServiceProxy(ApiClient apiClient, IndexedDbCache indexedDb,
public async Task<PaginatedResultOfProductDto> GetProductsAsync(ProductsWithPaginationQuery query)
{
var cacheKey = GenerateCacheKey(query);
if (await onlineStatus.GetOnlineStatusAsync())
var online = await onlineStatus.GetOnlineStatusAsync();
if (online)
{
var apiResult = await apiClient.Products.Pagination.PostAsync(query);
if (apiResult != null && offlineMode.Enabled)
Expand Down

0 comments on commit 4761739

Please sign in to comment.