fix(apps/get-flows): respond with distinct flows
This commit is contained in:
@@ -7,6 +7,7 @@ export default async (request, response) => {
|
|||||||
|
|
||||||
const flowsQuery = request.currentUser.authorizedFlows
|
const flowsQuery = request.currentUser.authorizedFlows
|
||||||
.clone()
|
.clone()
|
||||||
|
.distinct('flows.*')
|
||||||
.joinRelated({
|
.joinRelated({
|
||||||
steps: true,
|
steps: true,
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user