Use correct locale for participation emails
For anonymous participations we now use a locale parameter in metadata Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -409,12 +409,13 @@ export const EDIT_EVENT = gql`
|
||||
`;
|
||||
|
||||
export const JOIN_EVENT = gql`
|
||||
mutation JoinEvent($eventId: ID!, $actorId: ID!, $email: String, $message: String) {
|
||||
mutation JoinEvent($eventId: ID!, $actorId: ID!, $email: String, $message: String, $locale: String) {
|
||||
joinEvent(
|
||||
eventId: $eventId,
|
||||
actorId: $actorId,
|
||||
email: $email,
|
||||
message: $message
|
||||
message: $message,
|
||||
locale: $locale
|
||||
) {
|
||||
${participantQuery}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user