Merged PR 2315: Auth stabilistatiion and hardening
Related work items: #23020
This commit is contained in:
@@ -162,7 +162,7 @@ export default async function ApiProxy(req, res) {
|
||||
"@odata.count": coordsObj["@odata.count"]
|
||||
};
|
||||
|
||||
return req.query.hasOwnProperty("fordmw")
|
||||
return Object.prototype.hasOwnProperty.call(req.query, "fordmw")
|
||||
? respondSuccess(res, updatedData)
|
||||
: respondSuccess(res, coordsObj);
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user