UNPKG

@broadcom/endevor-bridge-for-git-rest-api

Version:

Endevor Bridge for Git Rest client

15 lines (14 loc) 544 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.UpdateWebhook = void 0; const MappingAction_1 = require("../action/MappingAction"); const AbstractRequest_1 = require("../../AbstractRequest"); class UpdateWebhook extends MappingAction_1.MappingAction { constructor(payload) { super(payload.context, payload.repository); this.customPath = "/webhook"; this.method = AbstractRequest_1.RequestMethod.PUT; this.payload = payload; } } exports.UpdateWebhook = UpdateWebhook;