remove whitespace in const and set true endpoint in widget

This commit is contained in:
Nitzan Miranda 2023-07-23 19:31:41 +03:00 committed by shamoon
parent da3597a04d
commit 0ea5d47fff
2 changed files with 3 additions and 4 deletions

View File

@ -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;

View File

@ -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}"
},
},
};