diff --git a/github-action/src/onboardApp.ts b/github-action/src/onboardApp.ts index 1568eadc..cd38f858 100644 --- a/github-action/src/onboardApp.ts +++ b/github-action/src/onboardApp.ts @@ -80,7 +80,7 @@ async function onboardAppForProjectMaster(appkey: string, token: string, env: Fu ['Content-Type']: 'application/json', }; const payload = { - type: "ProjectMaster" + type: "Facility" } const url = `${env === 'CI' ? testEnv.url : productionEnv.url}/api/onboarded-apps/${appkey}/context-type` console.log(`Sending ${payload} to ${url}`) @@ -139,7 +139,7 @@ async function onboardAppWithCategory(appkey: string, token: string, env: Fusion ['Authorization']: `Bearer ${token}`, ['Content-Type']: 'application/json', }; - const payload = { appKey: appkey, isLegacy: false, appGroupId: env == "CI" ? testEnv.categoryId : productionEnv.categoryId, contextTypes: ["ProjectMaster"] } + const payload = { appKey: appkey, isLegacy: false, appGroupId: env == "CI" ? testEnv.categoryId : productionEnv.categoryId, contextTypes: ["Facility"] } const res = await client.postJson( `${env === 'CI' ? testEnv.url : productionEnv.url}/api/onboarded-apps`, payload, diff --git a/libs/handoverapp/src/lib/config/workspaceConfig.tsx b/libs/handoverapp/src/lib/config/workspaceConfig.tsx index 64391653..a31168c3 100644 --- a/libs/handoverapp/src/lib/config/workspaceConfig.tsx +++ b/libs/handoverapp/src/lib/config/workspaceConfig.tsx @@ -25,7 +25,7 @@ export const WorkspaceWrapper = () => { const pbi = usePBIOptions('handoveranalytics', { column: 'Facility', - table: 'Dim_Facility ', + table: 'Dim_Facility', }); const { bookmarkKey, currentBookmark, onBookmarkChange } = useWorkspaceBookmarks();