We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a3e191 commit 49a6fbfCopy full SHA for 49a6fbf
packages/runtime/src/client/crud/operations/find.ts
@@ -12,7 +12,7 @@ export class FindOperationHandler<Schema extends SchemaDef> extends BaseOperatio
12
? this.inputValidator.validateFindArgs(this.model, operation === 'findUnique', normalizedArgs)
13
: normalizedArgs) as FindArgs<Schema, GetModels<Schema>, true>;
14
15
- if(operation === 'findFirst'){
+ if (operation === 'findFirst') {
16
parsedArgs.take = 1;
17
}
18
0 commit comments