Skip to content

Commit

Permalink
fix: Fix results data on flow trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
mariana-morais committed Mar 27, 2024
1 parent acedaaf commit e69afda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/api/resources/flows/flowsTrigger.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default {
});

const resultsResponse = {
results: response.data.results,
results: response.data.results || response.data,
};

return { data: resultsResponse, status: 'success' };
Expand Down

0 comments on commit e69afda

Please sign in to comment.