Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
timleslie committed Feb 24, 2021
1 parent 4038836 commit 6e610be
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/keystone/lib/ListTypes/list.js
Original file line number Diff line number Diff line change
Expand Up @@ -958,8 +958,7 @@ module.exports = class List {
schemaAccess.read ||
schemaAccess.create ||
schemaAccess.update ||
schemaAccess.delete ||
schemaAccess.auth
schemaAccess.delete
) {
types.push(
...flatten(this.fields.map(field => field.getGqlAuxTypes({ schemaName }))),
Expand Down Expand Up @@ -1155,8 +1154,7 @@ module.exports = class List {
schemaAccess.read ||
schemaAccess.create ||
schemaAccess.update ||
schemaAccess.delete ||
schemaAccess.auth
schemaAccess.delete
) {
return objMerge(this.fields.map(field => field.gqlAuxFieldResolvers({ schemaName })));
}
Expand Down

0 comments on commit 6e610be

Please sign in to comment.