Skip to content

Commit

Permalink
fix(api-gateway): Removed hasOwnProperty check for request object (#7517
Browse files Browse the repository at this point in the history
)
  • Loading branch information
RusovDmitriy authored Dec 12, 2023
1 parent ac96ae3 commit 2129a1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cubejs-api-gateway/src/gateway.ts
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ class ApiGateway {
`${this.basePath}/v1/meta`,
userMiddlewares,
async (req, res) => {
if (req.query.hasOwnProperty('extended')) {
if ('extended' in req.query) {
await this.metaExtended({
context: req.context,
res: this.resToResultFn(res),
Expand Down

0 comments on commit 2129a1b

Please sign in to comment.