From 850dc4c8a1fdaccb065effce9a79b57be0520810 Mon Sep 17 00:00:00 2001 From: "kwan.nguyen" Date: Wed, 30 Oct 2024 11:38:22 +0700 Subject: [PATCH] fix get user dropdown pagesize --- PCUT/PCUT/Package.appxmanifest | 2 +- PCUT/PCUT/ViewModels/LogViewModel.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PCUT/PCUT/Package.appxmanifest b/PCUT/PCUT/Package.appxmanifest index 2c80a84..742a2e1 100644 --- a/PCUT/PCUT/Package.appxmanifest +++ b/PCUT/PCUT/Package.appxmanifest @@ -9,7 +9,7 @@ + Version="1.3.4.4" /> diff --git a/PCUT/PCUT/ViewModels/LogViewModel.cs b/PCUT/PCUT/ViewModels/LogViewModel.cs index b56f37f..6f74897 100644 --- a/PCUT/PCUT/ViewModels/LogViewModel.cs +++ b/PCUT/PCUT/ViewModels/LogViewModel.cs @@ -40,7 +40,7 @@ namespace PCUT.ViewModels { try { - var response = await httpClient.GetAsync(Api.Users); + var response = await httpClient.GetAsync($"{Api.Users}?page=1&pageSize={int.MaxValue}"); if (response.IsSuccessStatusCode) { var apiResponse = await response.DeserializeObjectAsync>>();