This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "statusCode": 400, | |
| "message": "\nInvalid `Promise.resolve(Promise.all([t.count()` invocation in\n/app/node_modules/.pnpm/prisma-pagination@0.2.3/node_modules/prisma-pagination/dist/index.js:1:517\n\n→ 1 function e(){return e=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},e.apply(this,arguments)}exports.createPaginator=function(r){return function(t,n,a){void 0===n&&(n={where:void 0});try{var o=Number((null==a?void 0:a.page)||(null==r?void 0:r.page))||1,l=Number((null==a?void 0:a.perPage)||(null==r?void 0:r.perPage))||10,i=o>0?l*(o-1):0;return Promise.resolve(Promise.all([t.count(\nExpected a string in column 'code', got number: 57" | |
| } |