Skip to content

Commit

Permalink
修改objectql#5197
Browse files Browse the repository at this point in the history
  • Loading branch information
tujiajun committed Jul 27, 2023
1 parent 656f5e2 commit b12f271
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,7 @@ router.get('/api/workflow/amis_chart', core.requireAuthentication, async functio
'$project': {
'flow_version': 1,
'flow': 1,
'lastTrace': {
'$last': '$traces'
}
'lastTrace': { $arrayElemAt: ["$traces", -1] }
}
}
])
Expand Down

0 comments on commit b12f271

Please sign in to comment.