roleid eliminated from schema

This commit is contained in:
Luis Fernando Molina committed 2018-09-06 08:13:09 +02:00
1 parent 327bfcc038
commit 423b0c763d
3 files changed
+5 -4

No files matched your search

+2 -2
View File
@@ -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>
+3 -1
View File
@@ -7,7 +7,9 @@ const getUsersQuery = gql`
alias
firstName
lastName
roleId
role {
id
}
}
}
`
-1
View File
@@ -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) {