From c545f46e5010b6e846dd6a0c45db2363e8a6d0d5 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 26 Jul 2021 00:36:17 +0200 Subject: [PATCH] latest --- Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index b2eac5c..1b4b315 100644 --- a/Readme.md +++ b/Readme.md @@ -26,7 +26,7 @@ await Magento.initWithProfile('~/.magento.json', 'https://shop.plastic-hub.com/r // await Magento.init('https://shop.plastic-hub.com/rest/all', 'admin', 'password'); console.log('Magento API Config', Magento.apiConfig); const storeApi = new API.StoreStoreRepositoryV1Api(Magento.apiConfig); -const stores = await API.storeApi.storeStoreRepositoryV1GetListGet({}); +const stores = await storeApi.storeStoreRepositoryV1GetListGet({}); console.log('stores', stores); ```