diff --git a/client/src/components/Footer.js b/client/src/components/Footer.js index 98af36870..ec37e0fd0 100644 --- a/client/src/components/Footer.js +++ b/client/src/components/Footer.js @@ -37,8 +37,8 @@ const Footer = () => {
- © 2014 Copyright Text - Advanced Algos + © 2018 Copyright + Advanced Algos Ltd.
diff --git a/client/src/queries/queries.js b/client/src/queries/queries.js index 9a8021452..3d0a92fce 100644 --- a/client/src/queries/queries.js +++ b/client/src/queries/queries.js @@ -7,7 +7,9 @@ const getUsersQuery = gql` alias firstName lastName - roleId + role { + id + } } } ` diff --git a/server/schema/schema.js b/server/schema/schema.js index 38552a8b5..a1c7b5069 100644 --- a/server/schema/schema.js +++ b/server/schema/schema.js @@ -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) {