File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ class MyDocument extends Document {
56
56
> </ script >
57
57
< script src = "https://unpkg.com/phosphor-icons" defer > </ script >
58
58
</ Head >
59
- < body className = "bg-gray-50" >
59
+ < body className = "bg-gray-50 overflow-x-hidden " >
60
60
< Main />
61
61
< NextScript />
62
62
</ body >
Original file line number Diff line number Diff line change @@ -21,9 +21,12 @@ const FaunaCreateHandler: NextApiHandler = async (
21
21
22
22
try {
23
23
const response : any = await client . query (
24
- q . Map ( q . Paginate ( q . Documents ( q . Collection ( 'users' ) ) ) , ( userRef ) => {
25
- return getUserFromUserRef ( { ref : userRef , session } )
26
- } )
24
+ q . Map (
25
+ q . Paginate ( q . Documents ( q . Collection ( 'users' ) ) , { size : 100 } ) ,
26
+ ( userRef ) => {
27
+ return getUserFromUserRef ( { ref : userRef , session } )
28
+ }
29
+ )
27
30
)
28
31
const users : User [ ] = response . data
29
32
You can’t perform that action at this time.
0 commit comments