UNPKG

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

Version:

Endevor Bridge for Git Rest client

16 lines (15 loc) 588 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DeleteWebhook = void 0; const MappingAction_1 = require("../action/MappingAction"); const AbstractRequest_1 = require("../../AbstractRequest"); class DeleteWebhook extends MappingAction_1.MappingAction { constructor(context, repository, id) { super(context, repository); this.customPath = "/webhook"; this.method = AbstractRequest_1.RequestMethod.DELETE; this.id = id; this.params = { id, context, repository }; } } exports.DeleteWebhook = DeleteWebhook;