Skip to content

Commit

Permalink
2.0 hot fix for graph issue (#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
v-saikirang committed Feb 2, 2024
1 parent ed73bfb commit 0b4a071
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions EOC-TeamsFx/tabs/src/components/IncidentDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3113,8 +3113,7 @@ class IncidentDetails extends React.PureComponent<IIncidentDetailsProps, IIncide
});
const channelGraphEndpoint = graphConfig.teamsGraphEndpoint + "/" + team_id + graphConfig.channelsGraphEndpoint;
const channelObj = {
"displayName": constants.Assessment,
isFavoriteByDefault: true
"displayName": constants.Assessment
};

const channelResult = await this.dataService.createChannel(channelGraphEndpoint, this.props.graph, channelObj);
Expand Down Expand Up @@ -3164,8 +3163,7 @@ class IncidentDetails extends React.PureComponent<IIncidentDetailsProps, IIncide

const tabObj = {
"displayName": constants.Announcements,
"description": "",
isFavoriteByDefault: true
"description": ""
};
const channelResult = await this.dataService.sendGraphPostRequest(this.graphEndpoint, this.props.graph, tabObj);
console.log(constants.infoLogPrefix + "Announcements channel created");
Expand Down

0 comments on commit 0b4a071

Please sign in to comment.