UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

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