fix post profession

This commit is contained in:
Wikzyy
2025-03-25 09:22:31 +07:00
parent c559fa5d5d
commit 3a0c01ca65

View File

@ -117,7 +117,7 @@ const ManageProfessionContextProvider = ({ children }: { children: React.ReactNo
const response = await GetData(`${API_URL}/profession/list`, { const response = await GetData(`${API_URL}/profession/list`, {
limit, limit,
page: page + 1, page: page + 1,
with_deleted: true, with_deleted: false,
order_field: sorting[0].id, order_field: sorting[0].id,
order_direction: sorting[0].desc == false ? 'ASC' : 'DESC', order_direction: sorting[0].desc == false ? 'ASC' : 'DESC',
filter: JSON.stringify(filter) filter: JSON.stringify(filter)