UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

14 lines 431 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.updateVpc = void 0; const updateVpc = ({ httpClient, }) => ({ description, is_default, name, vpc_id, }) => { const url = `/vpcs/${vpc_id}`; const body = { default: is_default, description, name, }; return httpClient.patch(url, body); }; exports.updateVpc = updateVpc; //# sourceMappingURL=update-vpc.js.map