refactor(composables): update API query params and improve code style

- Standardize parameter naming with hyphens instead of underscores
- Remove page size limit and enable no-limit flag for all region queries
- Improve arrow function syntax consistency and formatting
This commit is contained in:
Khafid Prayoga
2025-10-09 10:13:00 +07:00
parent 3ffc28fdeb
commit 1f93fc2c81
4 changed files with 12 additions and 14 deletions

No files matched your search

+2 -2
View File
@@ -74,9 +74,9 @@ export function useRegencies(provinceCode: Ref<string | undefined> | string | un
try {
const response = await regencyService.getList({
'page-size': '50',
sort: 'name:asc',
province_code: code,
'page-no-limit': true,
'province-code': code,
})
if (response.success) {