Skip to content

Commit 106e4d2

Browse files
authored
Update movies.js
1 parent 0c264f4 commit 106e4d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pages/movies.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export async function getServerSideProps(context) {
3030
.collection("movies")
3131
.find({})
3232
.sort({ metacritic: -1 })
33-
.limit(10)
33+
.limit(20)
3434
.toArray();
3535

3636
return {
@@ -39,4 +39,4 @@ export async function getServerSideProps(context) {
3939
} catch (error) {
4040
console.log(error);
4141
}
42-
}
42+
}

0 commit comments

Comments
 (0)