@broadcom/endevor-bridge-for-git-rest-api
Version:
Endevor Bridge for Git Rest client
20 lines (19 loc) • 663 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ChangeMappingOwner = void 0;
const MappingAction_1 = require("./MappingAction");
const AbstractRequest_1 = require("../../AbstractRequest");
class ChangeMappingOwner extends MappingAction_1.MappingAction {
constructor(context, repository, username) {
super(context, repository);
this.customPath = "/owner";
this.method = AbstractRequest_1.RequestMethod.PUT;
this.username = username;
this.params = {
context,
repository,
username
};
}
}
exports.ChangeMappingOwner = ChangeMappingOwner;