Se cambio la tabla de unidades de medida generales por unidades de medida

This commit is contained in:
2026-01-21 15:43:19 -06:00
parent ce8712436e
commit 4b4599362f
6 changed files with 135 additions and 39 deletions

View File

@@ -183,7 +183,7 @@ export interface UnitOfMeasureGeneralUpdate {
}
export interface UnitOfMeasureGeneralListResponse {
items: UnitOfMeasureGeneral[];
items: UnitOfMeasureGeneral[];
total: number;
page: number;
page_size: number;
@@ -214,7 +214,7 @@ export async function updateUnitOfMeasureGeneral(id: number, data: UnitOfMeasure
}
export async function deleteUnitOfMeasureGeneral(id: number, companyId: number): Promise<ApiResponse<void>> {
return await api.delete(`/v1/a76/units-of-measure/general/${id}/?company_id=${companyId}`);
return await api.delete(`/v1/a76/units-of-measure/general/${id}?company_id=${companyId}`);
}
// --- Customs ---