graycoreio/daffodil

View on GitHub
libs/auth/driver/magento/src/queries/generate-token.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { gql } from 'apollo-angular';


export const generateTokenMutation = gql`
  mutation MagentoGenerateToken($email: String!, $password: String!) {
    generateCustomerToken(
      email: $email,
      password: $password
    ) {
      token
    }
  }
`;