UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

11 lines 447 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.enableDropletBackups = void 0; const enableDropletBackups = ({ httpClient, }) => ({ droplet_id, }) => { const url = `/droplets/${droplet_id}/actions`; const type = 'enable_backups'; const body = { type }; return httpClient.post(url, body); }; exports.enableDropletBackups = enableDropletBackups; //# sourceMappingURL=enable-droplet-backups.js.map