UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

12 lines 477 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.listDropletActions = void 0; const listDropletActions = ({ httpClient, }) => ({ droplet_id, page = 1, per_page = 25, }) => { const url = `/droplets/${droplet_id}/actions`; const query_params = { page, per_page }; return httpClient.get(url, { params: query_params, }); }; exports.listDropletActions = listDropletActions; //# sourceMappingURL=list-droplet-actions.js.map