mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-23 14:55:44 +00:00
refactor(FE-363): Update logistic report API endpoint and types
This commit is contained in:
@@ -24,7 +24,7 @@ export class LogisticApiService extends BaseApiService<
|
||||
): Promise<BaseApiResponse<LogisticPurchasePerSupplierReport> | undefined> {
|
||||
return await this.customRequest<
|
||||
BaseApiResponse<LogisticPurchasePerSupplierReport>
|
||||
>(`logistic-stock`, {
|
||||
>(`purchase-supplier`, {
|
||||
method: 'GET',
|
||||
params: {
|
||||
area_id: area_id,
|
||||
@@ -43,5 +43,5 @@ export class LogisticApiService extends BaseApiService<
|
||||
|
||||
// TODO: REPLACE WITH PRODUCTION URL
|
||||
export const LogisticApi = new LogisticApiService(
|
||||
'http://localhost:4010/api/report'
|
||||
'http://localhost:4010/api/reports/logistics'
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user