Skip to content

Commit 58f648b

Browse files
authored
fix(weaverbird): pin fake user id for startConversation Lambda API (#1112)
1 parent 85d3a51 commit 58f648b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/weaverbird/client/weaverbird.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,14 @@ export class WeaverbirdLambdaClient {
7171
const response = await invoke<StartConversationRequest, StartConversationResponse>(
7272
this.client,
7373
this.lambdaArns.setup.startConversation,
74-
{}
74+
// all of that is just mock data so that we can invoke lambdas explicitly before proxy layer is done
75+
{
76+
clientMetadata: {
77+
userIdentity: {
78+
oidcUserID: 'fake-user-id',
79+
},
80+
},
81+
}
7582
)
7683
return response.conversationId
7784
} catch (e) {

0 commit comments

Comments
 (0)