haravan-client
Version:
### Haravan API
17 lines (16 loc) • 452 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getShop = void 0;
const common_1 = require("./common");
function getShop(param) {
const { accessToken, delay } = param;
const config = common_1.makeRequestConfig({
path: '/web/shop.json',
method: 'GET',
accessToken,
rootField: 'shop',
delay
});
return common_1.sendRequest(config);
}
exports.getShop = getShop;