Add notifications support.
This commit is contained in:
@@ -23,3 +23,11 @@ export const QUERY_SHOP_ID = gql`
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
|
||||
export const UPDATE_FCM_TOKEN = gql`
|
||||
mutation UPDATE_FCM_TOKEN($email: String!, $token: jsonb!) {
|
||||
update_users(where: {email: {_eq: $email}}, _append: {fcmtokens: $token}) {
|
||||
affected_rows
|
||||
}
|
||||
}`;
|
||||
Reference in New Issue
Block a user