dots-wrapper
Version:
Digital Ocean v2 api wrapper - javascript - typescript - nodejs
10 lines • 341 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.updateApp = void 0;
const updateApp = ({ httpClient, }) => ({ app_id, spec, }) => {
const url = `/apps/${app_id}`;
const body = { spec };
return httpClient.put(url, body);
};
exports.updateApp = updateApp;
//# sourceMappingURL=update-app.js.map