Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustav-Eikaas committed Aug 29, 2024
1 parent a1f8caf commit aeed295
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions github-action/src/onboardApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`)
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion libs/handoverapp/src/lib/config/workspaceConfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const WorkspaceWrapper = () => {

const pbi = usePBIOptions('handoveranalytics', {
column: 'Facility',
table: 'Dim_Facility ',
table: 'Dim_Facility',
});

const { bookmarkKey, currentBookmark, onBookmarkChange } = useWorkspaceBookmarks();
Expand Down

0 comments on commit aeed295

Please sign in to comment.