diff options
| author | Miqdad <ahmadmiqdad27@gmail.com> | 2025-06-11 13:55:31 +0700 |
|---|---|---|
| committer | Miqdad <ahmadmiqdad27@gmail.com> | 2025-06-11 13:55:31 +0700 |
| commit | 54636b53685422d495adce95b491f7b10585cb5c (patch) | |
| tree | 99b60e655d2796ed3eb051fa029d88ccd79a51dd /src/lib/treckingAwb/api | |
| parent | 907deb7ca6589b83203b2352a3dd02b631696848 (diff) | |
| parent | c644e559eff7320dfe7e08004aba040f9f11cad6 (diff) | |
Merge branch 'feature/integrasi-biteship' of https://bitbucket.org/altafixco/next-indoteknik into biteship-merge
# Conflicts:
# src/lib/checkout/components/Checkout.jsx
Diffstat (limited to 'src/lib/treckingAwb/api')
| -rw-r--r-- | src/lib/treckingAwb/api/getManifest.js | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/lib/treckingAwb/api/getManifest.js b/src/lib/treckingAwb/api/getManifest.js index 7d78a5f2..5523a164 100644 --- a/src/lib/treckingAwb/api/getManifest.js +++ b/src/lib/treckingAwb/api/getManifest.js @@ -1,9 +1,12 @@ -const { default: odooApi } = require("@/core/api/odooApi") -const { getAuth } = require("@/core/utils/auth") +const { default: odooApi } = require('@/core/api/odooApi'); +const { getAuth } = require('@/core/utils/auth'); -export const getManifest = async ({id}) => { - const auth = getAuth() - const manifest = await odooApi('GET', `/api/v1/partner/${auth.partnerId}/stock-picking/${id}/tracking`) +export const getManifest = async ({ id }) => { + const auth = getAuth(); + const manifest = await odooApi( + 'GET', + `/api/v1/partner/${auth.partnerId}/stock-picking/${id}/tracking` + ); - return manifest -}
\ No newline at end of file + return manifest; +}; |
