Skip to content

Commit

Permalink
fix(community): updates 20240207
Browse files Browse the repository at this point in the history
  • Loading branch information
a-buono committed Feb 7, 2024
1 parent ce1116d commit b78c6db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fe-piattaforma/src/redux/features/forum/forumThunk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ const GetItemDetailsAction = {
};

export const GetItemDetail =
(itemId: string, userId: string, entity: 'board' | 'forum' | 'document') =>
(itemId: string, userId: string, entity: 'board' | 'community' | 'document') =>
async (dispatch: Dispatch) => {
try {
dispatch(showLoader());
Expand All @@ -638,7 +638,7 @@ export const GetItemDetail =
case 'board':
dispatch(setNewsDetail(res.data.data.items[0]));
break;
case 'forum':
case 'community':
dispatch(setTopicDetail(res.data.data.items[0]));
break;
case 'document':
Expand Down

0 comments on commit b78c6db

Please sign in to comment.