UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

12 lines 386 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.updateSshKey = void 0; const updateSshKey = ({ httpClient, }) => ({ name, ssh_key_id, }) => { const url = `/account/keys/${ssh_key_id}`; const body = { name, }; return httpClient.put(url, body); }; exports.updateSshKey = updateSshKey; //# sourceMappingURL=update-ssh-key.js.map