remove whitespace in const and set true endpoint in widget
This commit is contained in:
parent
da3597a04d
commit
0ea5d47fff
@ -6,7 +6,6 @@ import useWidgetAPI from "utils/proxy/use-widget-api";
|
||||
|
||||
export default function Component({ service }) {
|
||||
const { t } = useTranslation();
|
||||
|
||||
const { widget } = service;
|
||||
const { azureType } = widget;
|
||||
const { userEmail } = widget;
|
||||
|
||||
@ -6,11 +6,11 @@ const widget = {
|
||||
|
||||
mappings: {
|
||||
pr: {
|
||||
endpoint: "git/repositories/BackEnd/pullrequests",
|
||||
endpoint: "git/repositories/{repositoryId}/pullrequests"
|
||||
},
|
||||
|
||||
pipeline: {
|
||||
endpoint: "build/Builds?branchName=&definitions=141"
|
||||
endpoint: "build/Builds?branchName={branchName}&definitions={definitionId}"
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user