fix: inconsistent usage of snake_case and camelCase (#6824)

This commit is contained in:
Shivam Mishra
2023-04-04 16:22:45 +05:30
committed by GitHub
parent a0eafc94d7
commit b7d0016d99
4 changed files with 12 additions and 12 deletions

View File

@@ -70,7 +70,7 @@ export const actions = {
},
fetchAccountConversationHeatmap({ commit }, reportObj) {
commit(types.default.TOGGLE_HEATMAP_LOADING, true);
Report.getReports({ ...reportObj, group_by: 'hour' }).then(heatmapData => {
Report.getReports({ ...reportObj, groupBy: 'hour' }).then(heatmapData => {
let { data } = heatmapData;
data = clampDataBetweenTimeline(data, reportObj.from, reportObj.to);