Skip to content

Commit 333e8c6

Browse files
committed
Update GQL_MUTATIONS.ts
1 parent 9541067 commit 333e8c6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/utils/gql/GQL_MUTATIONS.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,16 @@ export const CREATE_USER = gql`
3030

3131
export const LOGIN_USER = gql`
3232
mutation Login($username: String!, $password: String!) {
33-
login(input: { username: $username, password: $password }) {
33+
loginWithCookies(input: { login: $username, password: $password }) {
34+
status
3435
authToken
3536
refreshToken
3637
customer {
38+
id
39+
email
40+
firstName
41+
lastName
42+
username
3743
sessionToken
3844
}
3945
}

0 commit comments

Comments
 (0)