Skip to content

Commit

Permalink
Update ordering of object properties (#5996)
Browse files Browse the repository at this point in the history
Co-authored-by: Jon Harrell <[email protected]>
  • Loading branch information
ollieleach and jharrell authored May 13, 2024
1 parent c503454 commit b17ba4e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const prisma = new PrismaClient().$extends({
$allModels: {
async findMany({ model, operation, args, query }) {
// set `take` and fill with the rest of `args`
args = { take: 100, ...args }
args = { ...args, take: 100 }

return query(args)
},
Expand Down

0 comments on commit b17ba4e

Please sign in to comment.