fix get user dropdown pagesize

This commit is contained in:
kwan.nguyen 2024-10-30 11:38:22 +07:00
parent 28538e22db
commit 850dc4c8a1
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
<Identity <Identity
Name="ac171214-3336-4e02-845d-9bdc107cce71" Name="ac171214-3336-4e02-845d-9bdc107cce71"
Publisher="CN=pcut, O=PCUT, L=HN, S=HN, C=VN" Publisher="CN=pcut, O=PCUT, L=HN, S=HN, C=VN"
Version="1.3.4.0" /> Version="1.3.4.4" />
<mp:PhoneIdentity PhoneProductId="ac171214-3336-4e02-845d-9bdc107cce71" PhonePublisherId="00000000-0000-0000-0000-000000000000"/> <mp:PhoneIdentity PhoneProductId="ac171214-3336-4e02-845d-9bdc107cce71" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>

View File

@ -40,7 +40,7 @@ namespace PCUT.ViewModels
{ {
try try
{ {
var response = await httpClient.GetAsync(Api.Users); var response = await httpClient.GetAsync($"{Api.Users}?page=1&pageSize={int.MaxValue}");
if (response.IsSuccessStatusCode) if (response.IsSuccessStatusCode)
{ {
var apiResponse = await response.DeserializeObjectAsync<PaginationResponse<IEnumerable<UsersModel>>>(); var apiResponse = await response.DeserializeObjectAsync<PaginationResponse<IEnumerable<UsersModel>>>();