mirror of
https://github.com/vercel/commerce.git
synced 2025-06-20 06:01:21 +00:00
21 lines
402 B
TypeScript
21 lines
402 B
TypeScript
// FIXME move to `mutations/` @zaiste
|
|
export const getCustomerQuery = /* GraphQL */ `
|
|
mutation getCustomer($customerAccessToken: String!) {
|
|
tokenRefresh(csrfToken: $customerAccessToken) {
|
|
token
|
|
user {
|
|
id
|
|
email
|
|
firstName
|
|
lastName
|
|
dateJoined
|
|
}
|
|
errors {
|
|
code
|
|
message
|
|
}
|
|
}
|
|
}
|
|
`
|
|
export default getCustomerQuery
|