Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
HUNG-rushb committed Dec 10, 2023
1 parent fbe4e77 commit c5426f4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/resolvers/Type/Post___.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ const Post = {
},
},
},
orderBy: {
createdAt: 'desc',
},
});
return result;
},
Expand Down

0 comments on commit c5426f4

Please sign in to comment.