roleid eliminated from schema
This commit is contained in:
1 parent
327bfcc038
commit
423b0c763d
3 files changed
+5
-4
No files matched your search
@@ -37,8 +37,8 @@ const Footer = () => {
|
||||
</div>
|
||||
<div className="footer-copyright">
|
||||
<div className="container">
|
||||
© 2014 Copyright Text
|
||||
<a className="grey-text text-lighten-4 right" href="www.advancedalgos.net">Advanced Algos</a>
|
||||
© 2018 Copyright
|
||||
<a className="grey-text text-lighten-4 right" href="www.advancedalgos.net">Advanced Algos Ltd.</a>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
@@ -7,7 +7,9 @@ const getUsersQuery = gql`
|
||||
alias
|
||||
firstName
|
||||
lastName
|
||||
roleId
|
||||
role {
|
||||
id
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
|
||||
@@ -31,7 +31,6 @@ const UserType = new GraphQLObjectType({
|
||||
isDeveloper: {type: GraphQLInt},
|
||||
isTrader: {type: GraphQLInt},
|
||||
isDataAnalyst: {type: GraphQLInt},
|
||||
roleId: {type: GraphQLString},
|
||||
role: {
|
||||
type: RoleType,
|
||||
resolve(parent, args) {
|
||||
|
||||
Reference in new issue
Block a user