Update stats API - date and source filters apply to stats

This commit is contained in:
Ilango
2024-03-11 21:54:42 +05:30
parent 131eccef45
commit ed6b3b2a6d
3 changed files with 65 additions and 27 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import client from './client'
const getStatsFromChatflow = (id) => client.get(`/stats/${id}`)
const getStatsFromChatflow = (id, params) => client.get(`/stats/${id}`, { params: { ...params } })
export default {
getStatsFromChatflow