Skip to content

Commit

Permalink
Revert other issue
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrebodin committed Mar 15, 2023
1 parent 18fbe66 commit 8819379
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/plugins/graphql/server/services/builders/utils.js
@@ -1,7 +1,6 @@
'use strict';

const { entries, mapValues, omit } = require('lodash/fp');
const { idArg, nonNull } = require('nexus');
const {
pagination: { withDefaultPagination },
contentTypes: { hasDraftAndPublish },
Expand Down Expand Up @@ -38,7 +37,7 @@ module.exports = ({ strapi }) => {
// Collection Types
if (kind === 'collectionType') {
if (!multiple) {
return { id: nonNull(idArg()) };
return { id: 'ID' };
}

const params = {
Expand Down

0 comments on commit 8819379

Please sign in to comment.