Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ymc9 committed Jun 20, 2024
1 parent 6a2520e commit 0ca4915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime/src/enhancements/delegate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export class DelegateProxyHandler extends DefaultPrismaProxyHandler {

if (this.injectBaseFieldSelect(model, field, value, args, kind)) {
delete args[kind][field];
} else {
} else if (fieldInfo.isDataModel) {
let nextValue = value;
if (nextValue === true) {
// make sure the payload is an object
Expand Down

0 comments on commit 0ca4915

Please sign in to comment.