Skip to content

Commit

Permalink
Merge branch 'feature/view-sent-flows' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Aldemylla committed Oct 25, 2023
2 parents e741148 + d6e0115 commit 1426aae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/components/chats/FlowsTrigger/ModalListTriggeredFlows.vue
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ export default {
const response = await FlowsTrigger.listFlowsStart({
offset,
limit: triggeredFlowsLimit,
ended_at_before: filterDate.end,
ended_at_after: filterDate.start,
end_time: filterDate.end,
start_time: filterDate.start,
});
this.triggeredFlows = response.results || response;
this.triggeredFlowsCount = response.count || 0;
Expand Down
6 changes: 3 additions & 3 deletions src/services/api/resources/chats/flowsTrigger.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ export default {
});
return response.data;
},
async listFlowsStart({ offset = 0, limit = 5, ended_at_before = '', ended_at_after = '' }) {
async listFlowsStart({ offset = 0, limit = 5, start_time = '', end_time = '' }) {
const response = await http.get(`/project/${getProject()}/list_flows_start/`, {
params: {
offset,
limit,
ended_at_before,
ended_at_after,
start_time,
end_time,
},
});
return response.data;
Expand Down

0 comments on commit 1426aae

Please sign in to comment.