chore: add trailing slash for API calling

This commit is contained in:
JustSong
2023-06-11 16:33:40 +08:00
parent 8ee59256fc
commit ff1380ef87
2 changed files with 2 additions and 2 deletions

View File

@@ -61,7 +61,7 @@ const EditChannel = () => {
const fetchGroups = async () => {
try {
let res = await API.get(`/api/group`);
let res = await API.get(`/api/group/`);
setGroupOptions(res.data.data.map((group) => ({
key: group,
text: group,