Authored by htoooth

fix

@@ -176,7 +176,7 @@ const profile_controller = { @@ -176,7 +176,7 @@ const profile_controller = {
176 const server = ctx.query.server || 'aws'; 176 const server = ctx.query.server || 'aws';
177 const lastTime = ctx.query.lastTime; 177 const lastTime = ctx.query.lastTime;
178 178
179 - const result = await profile_service.time(server, start, end, app, lastTime); 179 + const result = await profile_service.mean(server, start, end, app, lastTime);
180 ctx.body = result; 180 ctx.body = result;
181 }, 181 },
182 async count_report_index(ctx) { 182 async count_report_index(ctx) {