Merge pull request 'fix/tabla_unidades_medida' (#66) from fix/tabla_unidades_medida into development
Reviewed-on: ADUANASOFT/anexo76#66
This commit is contained in:
@@ -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 ---
|
||||
|
||||
Reference in New Issue
Block a user