UNPKG

haravan-client

Version:
17 lines (16 loc) 452 B
"use strict"; 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;