Procházet zdrojové kódy

Merge branch 'feat/user-group-v5' into fix/86680-fetching-child-user-group-error

Shun Miyazawa před 4 roky
rodič
revize
3524e2b696
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      packages/app/src/stores/user-group.tsx

+ 1 - 1
packages/app/src/stores/user-group.tsx

@@ -36,7 +36,7 @@ export const useSWRxChildUserGroupList = (
 
 export const useSWRxUserGroupRelations = (groupId: string): SWRResponse<IUserGroupRelationHasId[], Error> => {
   return useSWRImmutable(
-    groupId != null ? [`user-groups/${groupId}/user-group-relations`] : null,
+    groupId != null ? [`/user-groups/${groupId}/user-group-relations`] : null,
     endpoint => apiv3Get<UserGroupRelationListResult>(endpoint).then(result => result.data.userGroupRelations),
   );
 };