feat(graphql): validate timezone id as a GraphQL Scalar
Related to #1299 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -295,7 +295,7 @@ export const JOIN_EVENT = gql`
|
||||
$email: String
|
||||
$message: String
|
||||
$locale: String
|
||||
$timezone: String
|
||||
$timezone: Timezone
|
||||
) {
|
||||
joinEvent(
|
||||
eventId: $eventId
|
||||
|
||||
@@ -151,7 +151,7 @@ export const LOGGED_USER_TIMEZONE = gql`
|
||||
|
||||
export const SET_USER_SETTINGS = gql`
|
||||
mutation SetUserSettings(
|
||||
$timezone: String
|
||||
$timezone: Timezone
|
||||
$notificationOnDay: Boolean
|
||||
$notificationEachWeek: Boolean
|
||||
$notificationBeforeEvent: Boolean
|
||||
|
||||
Reference in New Issue
Block a user