fix(apps/get-flows): respond with distinct flows

This commit is contained in:
Ali BARIN
2025-01-21 12:12:54 +00:00
parent 36c5dbfb9f
commit c8e04f058d

View File

@@ -7,6 +7,7 @@ export default async (request, response) => {
const flowsQuery = request.currentUser.authorizedFlows
.clone()
.distinct('flows.*')
.joinRelated({
steps: true,
})