We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8165a2f commit 9ce7e9fCopy full SHA for 9ce7e9f
packages/cubejs-api-gateway/src/gateway.ts
@@ -2169,10 +2169,7 @@ class ApiGateway {
2169
}
2170
2171
public async contextByReq(req: Request, securityContext, requestId: string): Promise<ExtendedRequestContext> {
2172
- req.securityContext = {
2173
- ...req.securityContext,
2174
- ...securityContext,
2175
- };
+ req.securityContext = securityContext;
2176
2177
const extensions = typeof this.extendContext === 'function' ? await this.extendContext(req) : {};
2178
0 commit comments