Skip to content

Commit 033d060

Browse files
committed
merge the two
1 parent 23d69f4 commit 033d060

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/cubejs-api-gateway/src/gateway.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2158,6 +2158,11 @@ class ApiGateway {
21582158
}
21592159

21602160
public async contextByReq(req: Request, securityContext, requestId: string): Promise<ExtendedRequestContext> {
2161+
req.securityContext = {
2162+
...req.securityContext,
2163+
...securityContext,
2164+
};
2165+
21612166
const extensions = typeof this.extendContext === 'function' ? await this.extendContext(req) : {};
21622167

21632168
return {

0 commit comments

Comments
 (0)