mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-24 07:15:44 +00:00
refactor(FE-345): HPP ekspedisi API path to use /closings
This commit is contained in:
@@ -31,7 +31,7 @@ export class ClosingApiService extends BaseApiService<
|
|||||||
id: number
|
id: number
|
||||||
): Promise<BaseApiResponse<ClosingCosExpedition> | undefined> {
|
): Promise<BaseApiResponse<ClosingCosExpedition> | undefined> {
|
||||||
try {
|
try {
|
||||||
const getHppEkspedisiPath = `http://localhost:4010/api/closing/${id}/hpp-ekspedisi`;
|
const getHppEkspedisiPath = `http://localhost:4010/api/closings/${id}/hpp-ekspedisi`;
|
||||||
return await this.customRequest<BaseApiResponse<ClosingCosExpedition>>(
|
return await this.customRequest<BaseApiResponse<ClosingCosExpedition>>(
|
||||||
getHppEkspedisiPath
|
getHppEkspedisiPath
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user