dots-wrapper
Version:
Digital Ocean v2 api wrapper - javascript - typescript - nodejs
17 lines • 514 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.createCustomImage = void 0;
const createCustomImage = ({ httpClient, }) => ({ description, distribution, name, region, tags, url, }) => {
const _url = `/images`;
const body = {
description,
distribution,
name,
region,
tags,
url,
};
return httpClient.post(_url, body);
};
exports.createCustomImage = createCustomImage;
//# sourceMappingURL=create-custom-image.js.map