Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
meabed committed Nov 13, 2023
1 parent 08f74ad commit 27e497c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/resolvers/helpers/payloadRecordId.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ export function payloadRecordIds<TSource = any, TContext = any>(
type: opts?.type
? opts.type
: tc.hasField('_id')
? toInputType(tc.getFieldTC('_id')).NonNull.List.NonNull
: '[MongoID!]!',
? toInputType(tc.getFieldTC('_id')).NonNull.List.NonNull
: '[MongoID!]!',
resolve: (source, _, context) => {
const docs = (source as any)?.records;
if (opts?.fn) {
Expand Down

0 comments on commit 27e497c

Please sign in to comment.