diff --git a/src/utils/communityUtils.ts b/src/utils/communityUtils.ts index 8ecdb32..a973a55 100644 --- a/src/utils/communityUtils.ts +++ b/src/utils/communityUtils.ts @@ -12,7 +12,7 @@ export async function isUserInCommunity(userJid: string, groupJids: Set) // Check each group for the user for (const groupJid of groupJids) { const response = await axios.get( - `${API_URL}/group/getParticipants/${INSTANCE_NAME}`, + `${API_URL}/group/participants/${INSTANCE_NAME}`, { params: { groupJid: groupJid