fix: Update API endpoint to correct group participants URL

main
brobert (aider) 3 months ago
parent 7fb6fd7355
commit 7fa29c823e

@ -12,7 +12,7 @@ export async function isUserInCommunity(userJid: string, groupJids: Set<string>)
// Check each group for the user // Check each group for the user
for (const groupJid of groupJids) { for (const groupJid of groupJids) {
const response = await axios.get( const response = await axios.get(
`${API_URL}/group/getParticipants/${INSTANCE_NAME}`, `${API_URL}/group/participants/${INSTANCE_NAME}`,
{ {
params: { params: {
groupJid: groupJid groupJid: groupJid

Loading…
Cancel
Save