fix: 修复Playground分组无用户分组 (close #529)
Some checks failed
Publish Docker image (amd64) / Push Docker image to multiple registries (push) Has been cancelled

This commit is contained in:
1808837298@qq.com 2024-10-14 16:17:53 +08:00
parent 347cbf63bb
commit 1d8271e082

View File

@ -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