UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

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