dots-wrapper
Version:
Digital Ocean v2 api wrapper - javascript - typescript - nodejs
11 lines • 403 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.rebootDroplet = void 0;
const rebootDroplet = ({ httpClient, }) => ({ droplet_id, }) => {
const url = `/droplets/${droplet_id}/actions`;
const type = 'reboot';
const body = { type };
return httpClient.post(url, body);
};
exports.rebootDroplet = rebootDroplet;
//# sourceMappingURL=reboot-droplet.js.map