mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Better use defaultOrder only for posts
E.g. comments should be ordered exactly the opposite way.
This commit is contained in:
parent
4d70ba68c5
commit
dce9a3eea2
@ -13,5 +13,7 @@ const defaultOrderBy = (resolve, root, args, context, resolveInfo) => {
|
||||
}
|
||||
|
||||
export default {
|
||||
Query: defaultOrderBy
|
||||
Query: {
|
||||
Post: defaultOrderBy
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user