From 4f67d9cbe63d93224f368de866da29d3db63f069 Mon Sep 17 00:00:00 2001
From: Thomas Citharel <tcit@tcit.fr>
Date: Wed, 16 Jun 2021 12:35:00 +0200
Subject: [PATCH] Fix joining an event

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
---
 js/src/graphql/event.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/js/src/graphql/event.ts b/js/src/graphql/event.ts
index ba57d523f..f563e8a97 100644
--- a/js/src/graphql/event.ts
+++ b/js/src/graphql/event.ts
@@ -369,10 +369,10 @@ export const JOIN_EVENT = gql`
       message: $message
       locale: $locale
     ) {
-      ...ParticipantsQuery
+      ...ParticipantQuery
     }
   }
-  ${PARTICIPANTS_QUERY_FRAGMENT}
+  ${PARTICIPANT_QUERY_FRAGMENT}
 `;
 
 export const LEAVE_EVENT = gql`