ソースを参照

fix: 修复Playground分组无用户分组 (close #529)

1808837298@qq.com 1 年間 前
コミット
ade6d0f56a
1 ファイル変更1 行追加1 行削除
  1. 1 1
      web/src/components/Playground.js

+ 1 - 1
web/src/components/Playground.js

@@ -72,7 +72,7 @@ const Playground = () => {
   };
 
   const loadGroups = async () => {
-    let res = await API.get(`/api/user/groups`);
+    let res = await API.get(`/api/user/self/groups`);
     const { success, message, data } = res.data;
     if (success) {
       // return data is a map, key is group name, value is group description