Connect to User Module

This commit is contained in:
Barry Low committed 2018-09-25 22:57:06 -07:00
1 parent f820fcd1fa
commit 5a564aaf5f
6 files changed
+82 -12

No files matched your search

@@ -0,0 +1,25 @@
/* eslint-disable no-unused-vars */
import gql from 'graphql-tag'
export const USER_BY_AUTHID = gql`
query($authId: String){
userByAuthId (authId: $authId){
id
alias
firstName
middleName
lastName
bio
email
emailVerified
isDeveloper
isDataAnalyst
isTrader
role {
id
}
}
}
`
export default USER_BY_AUTHID