Adds sort order to free event type 404 (#2278)

This commit is contained in:
Omar López 2022-03-25 11:50:13 -07:00 committed by GitHub
parent 92534c7e6d
commit 94006156d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -169,6 +169,14 @@ export const getServerSideProps = async (context: GetServerSidePropsContext) =>
},
],
},
orderBy: [
{
position: "desc",
},
{
id: "asc",
},
],
select: {
id: true,
},