diff --git a/src/lib/remote-invoke.ts b/src/lib/remote-invoke.ts index 4fd1849..a94cd05 100644 --- a/src/lib/remote-invoke.ts +++ b/src/lib/remote-invoke.ts @@ -146,14 +146,14 @@ export default class RemoteInvoke { if (resp?.err) { this.showLog(resp.headers['x-fc-log-result']); - logger.log(`\nFC Invoke Result[code: ${resp.code}]:`, 'red'); + logger.log(`\nFC Invoke Result[Code: ${resp.code}]:`, 'red'); console.log(resp.data); console.log('\n'); } else { if (resp) { this.showLog(resp.headers['x-fc-log-result']); - logger.log('\nFC Invoke Result[code: ${resp.code}]:', 'green'); + logger.log(`\nFC Invoke Result[Code: ${resp.code}]:`, 'green'); console.log(resp.data); console.log('\n'); }