Compare commits

...

1 Commits

Author SHA1 Message Date
千风 c49e9b957a fix: fix async invoke withour stateul invoke id error 2021-12-31 09:50:03 +08:00
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ export default class RemoteInvoke {
const { headers } = await this.fcClient.invokeFunction(serviceName, functionName, event, {
'X-Fc-Invocation-Code-Version': 'Latest',
'X-Fc-Invocation-Type': invocationType,
'X-Fc-Stateful-Async-Invocation-Id': statefulAsyncInvocationId,
'X-Fc-Stateful-Async-Invocation-Id': statefulAsyncInvocationId || "",
}, qualifier);
const rId = headers['x-fc-request-id'];