From 7fa29c823e91f5a94e2c62a8005d91ab5fe9d420 Mon Sep 17 00:00:00 2001 From: "brobert (aider)" Date: Sun, 23 Mar 2025 23:36:05 +0100 Subject: [PATCH] fix: Update API endpoint to correct group participants URL --- src/utils/communityUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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