diff --git a/web/src/components/Playground.js b/web/src/components/Playground.js index 459cfb0..3e1e86a 100644 --- a/web/src/components/Playground.js +++ b/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