@gitbeaker/core 35.4.0 → 35.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -2330,8 +2330,7 @@ var Runners = /** @class */ (function (_super) {
2330
2330
  return RequestHelper.put()(this, "runners/".concat(runnerId), options);
2331
2331
  };
2332
2332
  Runners.prototype.enable = function (projectId, runnerId, options) {
2333
- var _a = __read([projectId, runnerId].map(encodeURIComponent), 2), pId = _a[0], rId = _a[1];
2334
- return RequestHelper.post()(this, endpoint(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject(["projects/", "/runners"], ["projects/", "/runners"])), pId), __assign({ runnerId: rId }, options));
2333
+ return RequestHelper.post()(this, endpoint(templateObject_2$8 || (templateObject_2$8 = __makeTemplateObject(["projects/", "/runners"], ["projects/", "/runners"])), projectId), __assign({ runnerId: runnerId }, options));
2335
2334
  };
2336
2335
  Runners.prototype.disable = function (projectId, runnerId, options) {
2337
2336
  return RequestHelper.del()(this, endpoint(templateObject_3$6 || (templateObject_3$6 = __makeTemplateObject(["projects/", "/runners/", ""], ["projects/", "/runners/", ""])), projectId, runnerId), options);