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.listDropletBackups = void 0; const listDropletBackups = ({ httpClient, }) => ({ droplet_id, page = 1, per_page = 25, }) => { const url = `/droplets/${droplet_id}/backups`; const query_params = { page, per_page }; return httpClient.get(url, { params: query_params, }); }; exports.listDropletBackups = listDropletBackups; //# sourceMappingURL=list-droplet-backups.js.map