mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-06 22:33:41 +08:00
fix: 修复Playground分组无用户分组 (close #529)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user