Skip to content

Commit

Permalink
fix(system-client): fix debug function result output;
Browse files Browse the repository at this point in the history
  • Loading branch information
maslow committed Sep 13, 2021
1 parent cb94ec6 commit f467003
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/system-client/src/views/cloudfunction/debug.vue
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ export default {
const res = await launchFunction(this.func.name, param, debug_token)
.finally(() => { this.loading = false })
this.invokeRequestId = res.headers['requestId']
this.invokeRequestId = res.headers['requestid']
await this.getLogByRequestId(this.invokeRequestId)
.finally(() => { this.loading = false })
Expand All @@ -245,7 +245,7 @@ export default {
if (res.data?.length) {
this.invokeLogs = res.data[0]?.logs
this.invokeTimeUsage = this.invokeLogs?.time_usage
this.invokeTimeUsage = res.data[0]?.time_usage
}
},
/**
Expand Down

0 comments on commit f467003

Please sign in to comment.