Skip to content

Commit 3c60ce7

Browse files
authored
Update movies.js
1 parent 2acb4dc commit 3c60ce7

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
@@ -36,7 +36,7 @@ export async function getServerSideProps(context) {
3636
return {
3737
props: { movies: JSON.parse(JSON.stringify(movies)) },
3838
};
39-
} catch (error) {
40-
console.log(error);
39+
} catch (e) {
40+
console.log(e);
4141
}
4242
}

0 commit comments

Comments
 (0)