UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

14 lines 498 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.updateCdnEndpoint = void 0; const updateCdnEndpoint = ({ httpClient, }) => ({ cdn_endpoint_id, ttl, certificate_id, custom_domain, }) => { const url = `/cdn/endpoints/${cdn_endpoint_id}`; const body = { ttl, certificate_id, custom_domain, }; return httpClient.put(url, body); }; exports.updateCdnEndpoint = updateCdnEndpoint; //# sourceMappingURL=update-cdn-endpoint.js.map