mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
remove comment, reverse order to reduce client workload
This commit is contained in:
parent
ac6bbf1840
commit
bb509ae244
@ -13,8 +13,7 @@ export default {
|
||||
id: context.user.id,
|
||||
},
|
||||
}
|
||||
// this does not work
|
||||
// params.orderBy = ['createdAt_desc']
|
||||
|
||||
const resolved = await neo4jgraphql(object, params, context, resolveInfo)
|
||||
|
||||
if (resolved) {
|
||||
@ -22,7 +21,7 @@ export default {
|
||||
message._id = message.id
|
||||
})
|
||||
}
|
||||
return resolved
|
||||
return resolved.reverse()
|
||||
},
|
||||
},
|
||||
Mutation: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user