UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

10 lines 428 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.convertImageToSnapshot = void 0; const convertImageToSnapshot = ({ httpClient, }) => ({ image_id, }) => { const url = `/images/${image_id}/actions`; const body = { type: 'convert' }; return httpClient.post(url, body); }; exports.convertImageToSnapshot = convertImageToSnapshot; //# sourceMappingURL=convert-image-to-snapshot.js.map