Pass params in body to make_report API
This commit is contained in:
parent
b5de5d768e
commit
5ee6535985
@ -35,11 +35,9 @@ export async function makeReport(params: MakeReportParams) {
|
||||
const { end_date, start_date, subsidiary } = params;
|
||||
try {
|
||||
const response = await API.post<MakeReportResponse>(`/ctel/make_report/`, {
|
||||
params: {
|
||||
start_date: start_date,
|
||||
end_date: end_date,
|
||||
subsidiary: subsidiary,
|
||||
},
|
||||
start_date: start_date,
|
||||
end_date: end_date,
|
||||
subsidiary: subsidiary,
|
||||
});
|
||||
return response.data;
|
||||
} catch (error) {
|
||||
|
Loading…
Reference in New Issue
Block a user