UNPKG

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

Version:

Endevor Bridge for Git Rest client

11 lines (10 loc) 361 B
import { MappingAction } from "../action/MappingAction"; import { RequestMethod } from "../../AbstractRequest"; export class UpdateWebhook extends MappingAction { constructor(payload) { super(payload.context, payload.repository); this.customPath = "/webhook"; this.method = RequestMethod.PUT; this.payload = payload; } }