Shun Miyazawa 4 лет назад
Родитель
Сommit
7649876bd1
1 измененных файлов с 1 добавлено и 1 удалено
  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),
   );
 };